From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 66570@debbugs.gnu.org
Subject: bug#66570: 29.1; Regression when printing option set with value of wrong type
Date: Mon, 23 Oct 2023 17:53:58 +0300 [thread overview]
Message-ID: <834jiho0e1.fsf@gnu.org> (raw)
In-Reply-To: <SJ0PR10MB54881A472046910981F658D6F3D0A@SJ0PR10MB5488.namprd10.prod.outlook.com> (message from Drew Adams on Sun, 15 Oct 2023 21:25:00 +0000)
tags 66570 wontfix
close 66570
thanks
> From: Drew Adams <drew.adams@oracle.com>
> Date: Sun, 15 Oct 2023 21:25:00 +0000
>
> emacs -Q
>
> Evaluate (customize-set-variable 'fill-column nil).
>
> No message or error about improver value (just as in previous releases).
Emacs 29 has setopt, so you should use that instead. It will display
a warning when a variable is set to a value that it doesn't support.
Or use the command customize-option.
> C-h v fill-column
>
> An error is raised, but the *Compile-Log* message doesn't say what
> function raised the error:
>
> z:/path/to/Emacs-29.1.2/share/emacs/29.1/lisp/emacs-lisp/cl-print.elc:
> Error: Wrong type argument: number-or-marker-p, nil
Yes. Actually, errors start popping up before that, because the value
of fill-column is bogus. Just don't do that (and use setopt to make
sure you don't inadvertently set a variable to a bad value).
I don't think we should do anything here, as this is a clear cockpit
error that can nowadays be avoided by using a different API.
So I'm closing this bug.
prev parent reply other threads:[~2023-10-23 14:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-15 21:25 bug#66570: 29.1; Regression when printing option set with value of wrong type Drew Adams
2023-10-23 14:53 ` Eli Zaretskii [this message]
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=834jiho0e1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=66570@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 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).