From: Mauro Aranda <maurooaranda@gmail.com>
To: 54048@debbugs.gnu.org
Subject: bug#54048: 29.0.50; Wrong declaration for some align.el defcustom
Date: Thu, 17 Feb 2022 19:37:23 -0300 [thread overview]
Message-ID: <620ece26.1c69fb81.981be.4780@mx.google.com> (raw)
Both align-region-heuristic and align-large-region allow for a nil value,
but the defcustom type only declares integer as a valid value.
The align-rules-list takes its type from the align-rules-list-type
variable, which gives a wrong default value for the "Run If" and "Valid"
optional attributes. This can be seen with:
emacs -Q
1. M-x load library RET align
2. M-x customize-option RET align-rules-list
3. Navigate to the outer INS button and hit RET
4. Hit INS to insert and optional attribute
5. In the Value Menu for the new optional attribute, select either "Valid"
or "Run If"
6. Emacs displays a widget-bad-default-value
In GNU Emacs 29.0.50 (build 52, i686-pc-linux-gnu, GTK+ Version 2.24.32, cairo version 1.16.0)
of 2022-02-17 built on tbb-desktop
Repository revision: 3d0f5bc219de43ebd1789882bad483720d581a4e
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Ubuntu 18.04.6 LTS
Configured using:
'configure --with-mailutils --with-xml2 --with-dbus'
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG MODULES
NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK2 ZLIB
Important settings:
value of $LC_MONETARY: es_AR.UTF-8
value of $LC_NUMERIC: es_AR.UTF-8
value of $LC_TIME: es_AR.UTF-8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util text-property-search time-date seq gv
subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget keymap hashtable-print-readable backquote threads
dbusbind inotify dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 8 42738 10332)
(symbols 24 5662 1)
(strings 16 15720 2235)
(string-bytes 1 503602)
(vectors 8 11124)
(vector-slots 4 164045 37330)
(floats 8 20 36)
(intervals 28 199 9)
(buffers 564 10))
next reply other threads:[~2022-02-17 22:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-17 22:37 Mauro Aranda [this message]
2022-02-17 22:43 ` bug#54048: 29.0.50; Wrong declaration for some align.el defcustom Mauro Aranda
2022-02-19 12:34 ` Lars Ingebrigtsen
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=620ece26.1c69fb81.981be.4780@mx.google.com \
--to=maurooaranda@gmail.com \
--cc=54048@debbugs.gnu.org \
/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.