From unknown Sun Sep 07 16:50:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18928: 24.4; viper-save-setting produces invalid configuration file Resent-From: Keshav Kini Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Nov 2014 20:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18928 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 18928@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.141495992922762 (code B ref -1); Sun, 02 Nov 2014 20:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Nov 2014 20:25:29 +0000 Received: from localhost ([127.0.0.1]:46409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xl1iK-0005v1-Av for submit@debbugs.gnu.org; Sun, 02 Nov 2014 15:25:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57960) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xl1iH-0005uo-9D for submit@debbugs.gnu.org; Sun, 02 Nov 2014 15:25:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xl1i5-0003Gl-U7 for submit@debbugs.gnu.org; Sun, 02 Nov 2014 15:25:20 -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]:60876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl1i5-0003GB-Qj for submit@debbugs.gnu.org; Sun, 02 Nov 2014 15:25:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl1hz-0002j1-NM for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2014 15:25:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xl1hs-0002tU-E1 for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2014 15:25:07 -0500 Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:39678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xl1hs-0002tA-6B for bug-gnu-emacs@gnu.org; Sun, 02 Nov 2014 15:25:00 -0500 Received: by mail-oi0-f53.google.com with SMTP id a141so6078221oig.26 for ; Sun, 02 Nov 2014 12:24:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=IQ7z7xXvfAh1SPCZtv0dwwiZymRmxOtqC2dtqfzIIK8=; b=HLBl+ygIPokLUvarjz1mVj7vyVS1kRj5KZrk2Wze7HsRgfbSfHuD60rvM+gkaO88uI 2DjQkhbjMEi+6wM3kgaScaDdz86nZ5rly9+USUly0W4KaC6QFhApH1ZMeIp8tj/Ty5Yz J9i5U1ftuDPyZtvrQ8rsInwhY4GJ9/Gl0M+8K8LKMMaRkiNwRFiomLJn1M0vyUlLW3ve yK6vSuARj9C/O3W4B/CjV7L4gFFz7X3SDZ0AxgaF7MYAQl45688QVyS6NRpdVcoLtCzf idph2aTr+aJbVEoQypDWIYkAdf652Qe5/0rlshZnJWbMcSCqrg/GMQOwIU1RRRRCuYaF elTw== X-Received: by 10.182.65.105 with SMTP id w9mr2916673obs.60.1414959898471; Sun, 02 Nov 2014 12:24:58 -0800 (PST) Received: from [192.168.1.6] (cpe-72-182-102-58.austin.res.rr.com. [72.182.102.58]) by mx.google.com with ESMTPSA id y6sm7060397obg.0.2014.11.02.12.24.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Nov 2014 12:24:57 -0800 (PST) Message-ID: <54569318.1030303@gmail.com> Date: Sun, 02 Nov 2014 14:24:56 -0600 From: Keshav Kini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (----) Steps to reproduce: 1) Run `emacs -Q`. 2) Execute the following elisp in the scratch buffer: (require 'viper-util) (setq x 3) (viper-save-setting 'x nil "/tmp/.viper") (setq x 4) (viper-save-setting 'x nil "/tmp/.viper") Expected result: /tmp/.viper should contain "(setq x '4)" Actual result: /tmp/.viper contains "(setq x '4 '3)" The above is a minimized example. An actual user behavior that demonstrates the bug is as follows. 1) Run `emacs -Q`. 2) Do `M-x viper-mode RET'. 3) You are queried with "Inhibit Viper startup message? (y or n) ". Answer 'n'. 4) After a few seconds, you are asked to "please specify your level of familiarity with the venomous VI Peril (and the VI Plan for Emacs Rescue)" and told that you can "change it at any time by typing `M-x viper-set-expert-level RET'". Answer '3'. 5) You are asked whether you "wish to make this change permanent". Answer 'y'. 6) As suggested, do `M-x viper-set-expert-level RET'. 7) Answer '4'. 8) Answer 'y'. 9) Close emacs. 10) Run `emacs -Q`. 11) Do `M-x viper-mode RET`. The following error appears in the minibuffer: Wrong type argument: symbolp, (quote 3) Suggested fix: Modify the regular expression at line 652 of lisp/emulation/viper-util.el to correctly recognize variable values such as "'3". Or, perhaps make viper utilize the standard customize functionality built into recent versions of Emacs, rather than rolling its own configuration file writer and parser. Thanks, Keshav In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.3) of 2014-10-25 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11601000 System Description: Debian GNU/Linux unstable (sid) Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-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 font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m a c s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 71506 9282) (symbols 48 17750 0) (miscs 40 39 113) (strings 32 9118 4274) (string-bytes 1 249719) (vectors 16 9006) (vector-slots 8 388591 12854) (floats 8 63 81) (intervals 56 213 8) (buffers 960 11) (heap 1024 41537 888)) From unknown Sun Sep 07 16:50:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18928: 24.4; viper-save-setting produces invalid configuration file Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Dec 2020 10:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18928 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Keshav Kini Cc: 18928@debbugs.gnu.org Received: via spool by 18928-submit@debbugs.gnu.org id=B18928.160707892813797 (code B ref 18928); Fri, 04 Dec 2020 10:49:01 +0000 Received: (at 18928) by debbugs.gnu.org; 4 Dec 2020 10:48:48 +0000 Received: from localhost ([127.0.0.1]:42953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8dr-0003aT-Qf for submit@debbugs.gnu.org; Fri, 04 Dec 2020 05:48:48 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8dp-0003aD-UJ for 18928@debbugs.gnu.org; Fri, 04 Dec 2020 05:48:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hkP26XudIjieH0Y6SaJhQ91GCbbT0/aGqhkY35X3UO4=; b=FzJ/WOHoV14dK9vSyKBth1/8Ze 9H5QtQC/JmKJUF3IIAhq3zlsLumRmSAhxasHchmYagU0hxeYENx9iCGcQQbVnwNDRHW3V6Z1zhrok AihRkMRSb3rG1gFwoYAbegxjpe2KMeXfneYTCXnFCjBobK5czaEThVD6UY+vyVyDi7OE=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kl8df-0007ZA-P0; Fri, 04 Dec 2020 11:48:39 +0100 From: Lars Ingebrigtsen References: <54569318.1030303@gmail.com> X-Now-Playing: Fennesz's _Agora_: "We Trigger the Sun" Date: Fri, 04 Dec 2020 11:48:34 +0100 In-Reply-To: <54569318.1030303@gmail.com> (Keshav Kini's message of "Sun, 02 Nov 2014 14:24:56 -0600") Message-ID: <87h7p1lud9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Keshav Kini writes: > Steps to reproduce: > > 1) Run `emacs -Q`. > 2) Execute the following elisp in the scratch buffer: > > (require 'viper-util) > (setq x 3) > (viper-save-setting 'x nil "/tmp/.viper") > (setq x 4) > ( [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 (-) Keshav Kini writes: > Steps to reproduce: > > 1) Run `emacs -Q`. > 2) Execute the following elisp in the scratch buffer: > > (require 'viper-util) > (setq x 3) > (viper-save-setting 'x nil "/tmp/.viper") > (setq x 4) > (viper-save-setting 'x nil "/tmp/.viper") > > Expected result: > > /tmp/.viper should contain "(setq x '4)" > > Actual result: > > /tmp/.viper contains "(setq x '4 '3)" (This bug report unfortunately got no response at the time.) Thanks for the clear recipe. I've now fixed this particular error in Emacs 28, but as you point out, this really should be fixed in a different way -- using Customize would be ideal, but there's always backwards compatibility issues. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 05:48:55 2020 Received: (at control) by debbugs.gnu.org; 4 Dec 2020 10:48:55 +0000 Received: from localhost ([127.0.0.1]:42956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8dz-0003ao-3H for submit@debbugs.gnu.org; Fri, 04 Dec 2020 05:48:55 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8dw-0003aS-Fc for control@debbugs.gnu.org; Fri, 04 Dec 2020 05:48:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zXnnTl6QV+ul/OdeGMswAdYP7RHX4175wv6CXd0rybM=; b=NTPBIDn5BnoGqyaWeuCuNRAPHL /P3kEXRmA9wbu9XyNC6iiT9V0x0jsya5H2zq4k6Si2FrqZcIZ+1xiZ6nMqz7OXu9StcHutvbn6eEL iD079pStrS7GnO7IUONoJt95Q6ZnogE7F8ZTtEXMYa74uK2Uhhz988A6fgJnDJwq14pQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kl8do-0007ZI-PH for control@debbugs.gnu.org; Fri, 04 Dec 2020 11:48:46 +0100 Date: Fri, 04 Dec 2020 11:48:43 +0100 Message-Id: <87ft4llud0.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18928 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 18928 fixed close 18928 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) 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 (-) tags 18928 fixed close 18928 28.1 quit From unknown Sun Sep 07 16:50:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18928: 24.4; viper-save-setting produces invalid configuration file Resent-From: Keshav Kini Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Dec 2020 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18928 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Ingebrigtsen Cc: 18928@debbugs.gnu.org Received: via spool by 18928-submit@debbugs.gnu.org id=B18928.160708034724566 (code B ref 18928); Fri, 04 Dec 2020 11:13:02 +0000 Received: (at 18928) by debbugs.gnu.org; 4 Dec 2020 11:12:27 +0000 Received: from localhost ([127.0.0.1]:43019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl90l-0006OA-BD for submit@debbugs.gnu.org; Fri, 04 Dec 2020 06:12:27 -0500 Received: from mail-oi1-f180.google.com ([209.85.167.180]:44498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl90j-0006Nw-4f for 18928@debbugs.gnu.org; Fri, 04 Dec 2020 06:12:25 -0500 Received: by mail-oi1-f180.google.com with SMTP id y74so5706103oia.11 for <18928@debbugs.gnu.org>; Fri, 04 Dec 2020 03:12:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XgMn8TAer9bjdm5j97AB1Y0c6kTXJKDSk9L9gLwiTHk=; b=mKb+lyolAB61BsPeJ+ylJKFlgMCC0AFNBrhv8D2kOFl6onm+bZxRmAa3eGGYgsX39G Lu52Ue4xgELP9YkBmpJ/8sa0Oa0jxBhpgxiKr7L1JjvlA4LLRledavYMWwJclq5AiuAy dY+8yT4Ncog5GgAVnhOGTdFf5MGpc+25eA3fge5eFuA7jOoxuFytbuKFQUkVt5sRlHG2 ycCe4kKzd8pUC0+PiOa3jtw4u6hwYCQDsSORm/Tv6j71WDxHuM6VrUb0nlHb7oWcc7BF Tub/LvmGLwTA5iqtrTdqnuOwLXpMwiOOWp9o+hWO6gl7m3zJ35hDfPg/6PpPqN/hMCRe weOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XgMn8TAer9bjdm5j97AB1Y0c6kTXJKDSk9L9gLwiTHk=; b=B0Mhqe3x5hu0jb/Z8E1++h0yN0XYCI3Vu1h1+oqFa4O6Mb7KPdP5qAKMlHuwyl74xJ vNVQC6BZaVAX61EWGXV7Qb1XlRTb5gIEuJatWW/i9tyKGqm9lwnLj/eBqPJqs6VublEF za6tV7DfMATJ4H+uH0VQJNuXYyWOCcpiyjLNy5q76YlXuj/rLgE6VLOU0JYKI8DaZxPb oQkDqrf7oHyCvwfmm0YoIwKwf1VKXdvAahoOkDh7LgY6zLDglG70gdU1iJQqkTA0tkCL J/zdgfsrPxoFOVs2LlMdwpUY0Z9JPSvCGq3CWCkZWp9lPT4msYE6ff6g4P9k78Ub7MxU zYLQ== X-Gm-Message-State: AOAM532LVLa6u8Pdm+Sm7fIo97ADN1hDUVUbEFrMQCcPn0nHR1v0SB+p pKvMfBlTpfV5Au9OO45hM35tQZY7N3Ff6Q== X-Google-Smtp-Source: ABdhPJy22c0hb+5rPaKyAdaJHoW/iwAF2p3SVgXdqN7jI+42GF4dqQjBpqmLfeMTszUN6eERp+O+VA== X-Received: by 2002:aca:ec13:: with SMTP id k19mr2821283oih.97.1607080339350; Fri, 04 Dec 2020 03:12:19 -0800 (PST) Received: from [192.168.1.103] (99-88-43-174.lightspeed.sntcca.sbcglobal.net. [99.88.43.174]) by smtp.googlemail.com with ESMTPSA id i24sm591364ood.0.2020.12.04.03.12.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Dec 2020 03:12:18 -0800 (PST) References: <54569318.1030303@gmail.com> <87h7p1lud9.fsf@gnus.org> From: Keshav Kini Message-ID: <5829dbcb-5f0d-c195-3ff5-614fae34fbda@gmail.com> Date: Fri, 4 Dec 2020 03:12:16 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <87h7p1lud9.fsf@gnus.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 (-) On 12/4/20 2:48 AM, Lars Ingebrigtsen wrote: > Keshav Kini writes: > >> Steps to reproduce: >> >> 1) Run `emacs -Q`. >> 2) Execute the following elisp in the scratch buffer: >> >> (require 'viper-util) >> (setq x 3) >> (viper-save-setting 'x nil "/tmp/.viper") >> (setq x 4) >> (viper-save-setting 'x nil "/tmp/.viper") >> >> Expected result: >> >> /tmp/.viper should contain "(setq x '4)" >> >> Actual result: >> >> /tmp/.viper contains "(setq x '4 '3)" > > (This bug report unfortunately got no response at the time.) > > Thanks for the clear recipe. I've now fixed this particular error in > Emacs 28, but as you point out, this really should be fixed in a > different way -- using Customize would be ideal, but there's always > backwards compatibility issues. Indeed. Thanks for the fix! -Keshav