From: Mauro Aranda <maurooaranda@gmail.com>
To: Pierre Rouleau <prouleau001@gmail.com>
Cc: 41831@debbugs.gnu.org
Subject: bug#41831: 26.3; Customize UI fails for defcustom with standard default of list heterogenous choice types
Date: Fri, 21 Aug 2020 11:30:46 -0300 [thread overview]
Message-ID: <CABczVwchn9SLn0p3v6Ja=Tmhzs6XvukSrNwn64-TnFsXXrZn6Q@mail.gmail.com> (raw)
In-Reply-To: <CALTqLiYs63z4x2oxEYMrv=L6nExJj8cYpKqAQPTsavdAWY=CsQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1315 bytes --]
(Please keep the bug address in CC when replying.)
Hello Pierre,
Sorry that it took me so long to see your reply.
On 18/6/20 17:47, Pierre Rouleau wrote:
> You are correct. If a symbol used in the default happens to be
> unbounded when the customize UI is opened, the UI fails and reports a
> "mismatch".
Thanks for confirming.
> I was misled by the term 'mismatch' because I thought the data
> structure definition was wrong. I did not look at the code of the
> customize UI enough to see if it was able to handle all types of
> errors, but maybe it would be possible to distinguish a real mismatch
> from an attempt to eval an unbound symbol (in either space: function
> or variable). I think it would help people understand the mistake
> they made in their code or to the data a little bit more, which might
> help to make the Emacs customize system a little more user friendly.
There was a real mismatch. Custom checks if the current value matches
the specification given. If it doesn't match, then it reports that
there is a mismatch, but still lets you edit the value of the variable.
> Should I enter another request for an enhancement instead?
I'm not sure something should be done here, but I'm far from being an
active contributor or an expert, so I'll let more experienced people
weigh in.
[-- Attachment #2: Type: text/html, Size: 1527 bytes --]
next prev parent reply other threads:[~2020-08-21 14:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-12 22:12 bug#41831: 26.3; Customize UI fails for defcustom with standard default of list heterogenous choice types Pierre Rouleau
2020-06-18 12:54 ` Mauro Aranda
[not found] ` <CALTqLiYs63z4x2oxEYMrv=L6nExJj8cYpKqAQPTsavdAWY=CsQ@mail.gmail.com>
2020-08-21 14:30 ` Mauro Aranda [this message]
2020-11-03 14:12 ` Mauro Aranda
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABczVwchn9SLn0p3v6Ja=Tmhzs6XvukSrNwn64-TnFsXXrZn6Q@mail.gmail.com' \
--to=maurooaranda@gmail.com \
--cc=41831@debbugs.gnu.org \
--cc=prouleau001@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).