From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jens Schmidt Newsgroups: gmane.emacs.bugs Subject: Customize inserts wrong default values Date: 01 Oct 2002 16:41:26 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033483431 17574 127.0.0.1 (1 Oct 2002 14:43:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Oct 2002 14:43:51 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17wOFX-0004Yu-00 for ; Tue, 01 Oct 2002 16:43:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17wOFq-0007uq-00; Tue, 01 Oct 2002 10:44:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17wOE2-0006IX-00 for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2002 10:42:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17wODy-0006HR-00 for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2002 10:42:12 -0400 Original-Received: from inet-mail1.oracle.com ([148.87.2.201]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17wODx-0006GV-00 for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2002 10:42:09 -0400 Original-Received: from inet-mail1.oracle.com (localhost [127.0.0.1]) by inet-mail1.oracle.com (Switch-2.2.3/Switch-2.2.3) with ESMTP id g91Eg3p03272 for ; Tue, 1 Oct 2002 07:42:03 -0700 (PDT) Original-Received: from rgmgw5.us.oracle.com (rgmgw5.us.oracle.com [138.1.191.14]) by inet-mail1.oracle.com (Switch-2.2.3/Switch-2.2.3) with ESMTP id g91Eg2n03264 for ; Tue, 1 Oct 2002 07:42:02 -0700 (PDT) Original-Received: from SAPPC7.de.oracle.com (sappc7.de.oracle.com [140.84.81.137]) by rgmgw5.us.oracle.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id g91Efwr08550 for ; Tue, 1 Oct 2002 08:42:01 -0600 (MDT) Original-To: bug-gnu-emacs@gnu.org Original-Lines: 56 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3613 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3613 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.1.1 (i386-msvc-nt4.0.1381) of 2001-10-22 on buffy configured using `configure --with-msvc (12.00)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: [Note: This has nothing to do with the bug I filed yesterday. Only the example is almost the same.] Consider the following customization variable: (defcustom test '((0 . "abc")) "xxx" :type '(repeat (choice string (cons :value (3 . "def") integer string)))) In the fresh customization buffer for `test' execute the following sequence of actions: Hit 2nd "INS" Hit 2nd "Value Menu" and choose "Cons cell" This sequence correctly inserts the 2nd cell (3 . "def"). Now continue: Hit 1st "Value Menu" and choose "String" Hit 1st "Value Menu" and choose "Cons cell" again Hit 3rd "INS" Hit 3rd "Value Menu" and choose "Cons cell" This sequence inserts the 3rd cell (0 . "abc"). That is, instead of inserting the default value as for the 2nd cell, the 1st cell just gets duplicated.