GNU bug report logs -
#7524
Customize should wrap long lines and pretty print sexp values
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Wed, 1 Dec 2010 06:07:01 UTC
Severity: wishlist
Tags: fixed, patch
Found in version 24.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #21 received at 7524 <at> debbugs.gnu.org (full text, mbox):
> Since the type you use is (sexp :tag "Command"), you give relatively
> little information to Custom about what it can look like (not that the
> type is wrong, actually).
Actually, I also tried this, but it seemed to make no difference:
(repeat (choice
(cons :tag "Item"
(string :tag "Name")
(restricted-sexp
:tag "Command"
:match-alternatives (commandp)))
(list :tag "Separator" (const "--"))))
And for the default value that causes a `mismatch' in older Emacs versions (20
through 23) for some reason - so I reverted to just `sexp'.
(Can you see anything wrong with that type spec? Dunno why older versions give
the value a `mismatch'.)
> And yes, Custom should probably try to wrap lines somehow in
> such cases (e.g. pretty-print the sexp). During the wrapping,
> it could convert the \n in strings into actual LF chars.
Thanks. I don't know the difference between the buglist wishlist status and the
Emacs TODO list. I imagine that the difference is that almost anything that any
user requests gets put on the wishlist but only things that Emacs Dev thinks are
important get put on the TODO list. But either is OK, I guess.
This bug report was last modified 4 years and 271 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.