From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66570: 29.1; Regression when printing option set with value of wrong type Date: Mon, 23 Oct 2023 17:53:58 +0300 Message-ID: <834jiho0e1.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30980"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66570@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 23 16:54:47 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1quwKN-0007kx-1u for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Oct 2023 16:54:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quwKB-0005KK-5L; Mon, 23 Oct 2023 10:54:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1quwK8-0005J6-Tj for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 10:54:33 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1quwK8-0002H5-LW for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 10:54:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quwKb-0006DG-Kn for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 10:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Oct 2023 14:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66570 X-GNU-PR-Package: emacs Original-Received: via spool by 66570-submit@debbugs.gnu.org id=B66570.169807287423832 (code B ref 66570); Mon, 23 Oct 2023 14:55:01 +0000 Original-Received: (at 66570) by debbugs.gnu.org; 23 Oct 2023 14:54:34 +0000 Original-Received: from localhost ([127.0.0.1]:51311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quwKA-0006CJ-9y for submit@debbugs.gnu.org; Mon, 23 Oct 2023 10:54:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quwK7-0006C0-NV; Mon, 23 Oct 2023 10:54:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1quwJY-0002Au-TV; Mon, 23 Oct 2023 10:53:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZxDsDhnABpqq8BUzHEntAA9Uc/0OohXYc/QaXi40x44=; b=V0oFR9oIs3by LSZuxGjpKDUnS7OXR8brp4z6NBBTr0Y5UTQqfukxwgxuo4SdEGZ0hpyI7cN4A+lnigUUQwYw2OUcw 0rhfIqN32p8txaMvYJYZJ87geUV4s+ZNjWr1xyocjESSnuhYSJPxvgpwsiI1qe/+ZkQUml9MTy+Pl yGn5vJd4iolmVWZ+iRdAdAlKDoIr7yy2f45u0XlELa3Rio/YcSw2p5+gUTSq3rnI9z2YS0DwRMKX5 k1kP1ztSVY0MrVsvb8SgVK5r+RuYA9THZOkxqz8SHO66ZGbiEUND7xlm80ppAkJWdMLf49jrCObdK G6Ol4LR5t6wUd/2dl6n0+w==; In-Reply-To: (message from Drew Adams on Sun, 15 Oct 2023 21:25:00 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273023 Archived-At: tags 66570 wontfix close 66570 thanks > From: Drew Adams > 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.