From: Phil Sainty <psainty@orcon.net.nz>
To: Drew Adams <drew.adams@oracle.com>, 33566@debbugs.gnu.org
Subject: bug#33566: 26; `group' :type for defcustom
Date: Sun, 2 Dec 2018 12:11:18 +1300 [thread overview]
Message-ID: <1df4e5f4-4410-d907-0fbb-82453e73f74b@orcon.net.nz> (raw)
In-Reply-To: <09947acd-9d28-44c8-9fa0-c5cd4a4ee569@default>
This appears to be the same issue as bug #31309
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31309
At present in wid-edit.el we see:
(define-widget 'group 'default
[...]
:format "%v"
And that format of "%v" is triggering the error.
In #31309 I noted that:
> the parent `editable-field' widget says:
> "Note: In an ‘editable-field’ widget, the ‘%v’ escape must be preceded
> by some other text in the ‘:format’ string (if specified)."
And so I copied the :format "%{%t%}: %v" used by the 'string type.
If we make that same change here:
(define-widget 'group 'default
[...]
:format "%{%t%}: %v"
Then the example code from this new bug works.
Possibly there are other such bugs here as well?
8 matches for ":format "%v"" in buffer: wid-edit.el
594: :type '(repeat (cons :format "%v"
597: (string :format "%v")))))
1870: :format "%v"
2214: :format "%v"
2392: :format "%v"
2749: :format "%v"
2905: :format "%v"
3565: (cons :format "%v"
-Phil
next prev parent reply other threads:[~2018-12-01 23:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-01 20:44 bug#33566: 26; `group' :type for defcustom Drew Adams
2018-12-01 23:11 ` Phil Sainty [this message]
2018-12-02 0:31 ` Drew Adams
2018-12-03 20:49 ` bug#33566: [PATCH] " Drew Adams
2018-12-22 23:35 ` Drew Adams
2018-12-29 8:04 ` Eli Zaretskii
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=1df4e5f4-4410-d907-0fbb-82453e73f74b@orcon.net.nz \
--to=psainty@orcon.net.nz \
--cc=33566@debbugs.gnu.org \
--cc=drew.adams@oracle.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 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.