all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jens Schmidt <Jens.Schmidt27@epost.de>
Subject: Customize inserts wrong default values
Date: 01 Oct 2002 16:41:26 +0100	[thread overview]
Message-ID: <u4rc69nfd.fsf@oracle.com> (raw)

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.

                 reply	other threads:[~2002-10-01 15:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u4rc69nfd.fsf@oracle.com \
    --to=jens.schmidt27@epost.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.