GNU bug report logs - #77923
30.1; intern raises error when called with optional argument

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Nil Geisweiller <ngeiswei@HIDDEN>; Keywords: notabug; dated Sat, 19 Apr 2025 12:28:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) notabug. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 77923 <at> debbugs.gnu.org:


Received: (at 77923) by debbugs.gnu.org; 19 Apr 2025 12:57:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 19 08:57:49 2025
Received: from localhost ([127.0.0.1]:59884 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u67lU-00053W-N6
	for submit <at> debbugs.gnu.org; Sat, 19 Apr 2025 08:57:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40588)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>)
 id 1u67lR-000534-HG; Sat, 19 Apr 2025 08:57:46 -0400
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 <eliz@HIDDEN>)
 id 1u67lL-0001jg-Vz; Sat, 19 Apr 2025 08:57:40 -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=AUxeAu298ly/DPSyWyZMpUdJIuKbtgENl9615Px6dBI=; b=BCLwRwJ3+CTI
 fuj5hz2Sw2Aq9YTy2tktzJfSSTOE5Ecp478uuitG37nU5JIc3tSf3nZX/V1Aq0i0gSe58qQHBr7nh
 3ySZsa7P6T4WC7GM+1eMsqeYVZFwzhoP0onZwUqm2Hufzv86eh7K2aFaHlOiD8VgU0aWhtryj93R7
 nqOzWkj7jLaAaf89lirILcTDr/Uv/TlEXCsnMuPY8E/Fufqok0bLYReEa0ZTLMc/3iBHedavKWRfy
 +bQ+ciI94DCqeMBgZQTzEUgQeB6QrXE+es2egJKe75pxzN+IykX07NdHKoF/V4qyzkC0sSscEHCdw
 9phLCZfyG5dIKGFLEwxRag==;
Date: Sat, 19 Apr 2025 15:57:35 +0300
Message-Id: <86plh88g1s.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Nil Geisweiller <ngeiswei@HIDDEN>
In-Reply-To: <32edbc47-dd73-4add-86ba-386b02708ecf@HIDDEN>
 (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#77923: 30.1;
 intern raises error when called with optional argument
References: <32edbc47-dd73-4add-86ba-386b02708ecf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77923
Cc: 77923 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 77923 notabug
thanks

> Date: Sat, 19 Apr 2025 15:26:46 +0300
> From:  Nil Geisweiller via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> Evaluating the expression below, using for instance M-:
> 
> (intern "abc" [nil])
> 
> raises the following error
> 
> (wrong-type-argument obarrayp [nil])
> 
> On the other hand, under Emacs 29.4, it outputs abc as expected.

It's a deliberate change in Emacs 30, see NEWS.  You need to pass a
real obarray.  Use obarray-make to create one.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77923; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Apr 2025 12:27:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 19 08:27:34 2025
Received: from localhost ([127.0.0.1]:59555 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u67IE-0002Oe-1R
	for submit <at> debbugs.gnu.org; Sat, 19 Apr 2025 08:27:34 -0400
Received: from lists.gnu.org ([2001:470:142::17]:57148)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ngeiswei@HIDDEN>)
 id 1u67I8-0002NI-4V
 for submit <at> debbugs.gnu.org; Sat, 19 Apr 2025 08:27:31 -0400
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 <ngeiswei@HIDDEN>)
 id 1u67Hd-00089w-34
 for bug-gnu-emacs@HIDDEN; Sat, 19 Apr 2025 08:27:02 -0400
Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ngeiswei@HIDDEN>)
 id 1u67HX-00057I-JV
 for bug-gnu-emacs@HIDDEN; Sat, 19 Apr 2025 08:26:55 -0400
Received: by mail-wm1-x331.google.com with SMTP id
 5b1f17b1804b1-43cec5cd73bso17948175e9.3
 for <bug-gnu-emacs@HIDDEN>; Sat, 19 Apr 2025 05:26:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20230601; t=1745065608; x=1745670408; darn=gnu.org;
 h=content-transfer-encoding:subject:to:content-language:user-agent
 :mime-version:date:message-id:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=i8KM82lKIgnxczM/9UGbrLlWOtML0dM/nDLLUwZljMo=;
 b=Q9GvHbTGHeJUgaEhEo7Ck28Um6qSAlGOll5y2PKolveHKWtYimz9O/rIi0JWnjzM+F
 g9RIwl7ZENvuq5wWr5hloxqxMsqCyt65kdA1vI5ZneTaRqEhIbRhCvq0t2zaTC/0AJaF
 toHheztXIxggnmvzauWukvNCrD9q9ugkVvBUJGrIOD3EwMr3HZR1U+wxjOW1VpmdVI9Z
 0RxSGw2PzMDm6+JNWCCO5PHqNFkD6spa4o1kLcPVOqQB/Ep/qtlhWE1n4RT3HT4rrI2P
 6ARPhuUkrQyItaOQ0xfXo2OBBXa2VpfifCFOFdOuRNsHm/hWGPZ1SknTPAoqXypvn9bU
 MQ2A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1745065608; x=1745670408;
 h=content-transfer-encoding:subject:to:content-language:user-agent
 :mime-version:date:message-id:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=i8KM82lKIgnxczM/9UGbrLlWOtML0dM/nDLLUwZljMo=;
 b=fZ5Vse+qu2ReOo7gFSOGaHkf3O0h5rH+KiE9iPV9MHytxAui/1wNC4rzxQB9jiuF1G
 JgIB+13M7k6Gsqx9Vv7mulgx0qjAa4rtQmmYXvu3mw/0YKUWDMIJy3x3tmGMNTNP/HHL
 o3Zuwb02SX5f0CRPMGMvC+A82EYR2HcNN/yNtF9LyaCsZt1djNz+YiwDGYjWATAqLCv7
 gIyQiL0z4EpM1Ir0v0I4JYkqa4FC6jDlbyjabf4h7700bLyPyVDuwm+FSKp+RUI8XYW1
 DI3fsdQimq6KBZ5j0BNUDkD/wvefms9B5pCPVg9CCvBvJ19wAV26P5C/SSbh76UXozk+
 zQRg==
X-Gm-Message-State: AOJu0YzEWjw9zViR6ejmem4/t7qMEzseOcIn0BbpYnEWFqNCWt67IUHQ
 9EYGEZdIFxeyXb4bR1TlaeLViUk9t1RIGMeUdMe2Xm4tKcGxJTkBDxr8vQev
X-Gm-Gg: ASbGnctgk7fyUT0kmq1nDXiqmJa+7SSx0D+GS/uI5cjGlSSsFVCYtEIo+Vb2JQfIqyu
 Xz0P6OpWsVaahMyoGijnCBGakDtZY7qzYYGOhk+Hi9X5OiDOQCvuBXHhKRwoOqpJNT8jjJZIlU9
 I7Ook2oH5xCMvy0ceNa8/mjyHXvrJftVOVBCXo7BI/CXdWUBddpSmu7DEgPBsCozF5a6HSPl8Bw
 fModtgm4KYsCQJswcBgXqODmQigr51YRhG56/UruwgE+sORmtvKNxaX8K/SzKecSkx+sEvcZfwW
 ZzXclHLeCVh6Fy9RBp5ReIqc3AhFsee4lGwTOfQrqg==
X-Google-Smtp-Source: AGHT+IHNQ1QF1tfXjoYxw3ZqMH0EjFM2wf8fgfkhAs4HxFB6RaAVULMK0I7Ij05Ljm5Iavh29Q25uQ==
X-Received: by 2002:a05:600c:4fcd:b0:43d:5ec:b2f4 with SMTP id
 5b1f17b1804b1-440711cca44mr39094155e9.10.1745065607819; 
 Sat, 19 Apr 2025 05:26:47 -0700 (PDT)
Received: from [192.168.0.176] ([78.142.38.19])
 by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-39efa4930e4sm5683834f8f.73.2025.04.19.05.26.47
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 19 Apr 2025 05:26:47 -0700 (PDT)
From: Nil Geisweiller <ngeiswei@HIDDEN>
X-Google-Original-From: Nil Geisweiller <ngeiswei@HIDDEN>
Message-ID: <32edbc47-dd73-4add-86ba-386b02708ecf@HIDDEN>
Date: Sat, 19 Apr 2025 15:26:46 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: bug-gnu-emacs@HIDDEN
Subject: 30.1; intern raises error when called with optional argument
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=2a00:1450:4864:20::331;
 envelope-from=ngeiswei@HIDDEN; helo=mail-wm1-x331.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Evaluating the expression below, using for instance M-:

(intern "abc" [nil])

raises the following error

(wrong-type-argument obarrayp [nil])

On the other hand, under Emacs 29.4, it outputs abc as expected.

In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
  cairo version 1.16.0) of 2025-04-09 built on laptop
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
   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
   minibuffer-regexp-mode: t
   line-number-mode: t
   indent-tabs-mode: t
   transient-mark-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort emacsbug mail-extr message sendmail mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util text-property-search time-date subr-x
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader
cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch-screen 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 nadvice seq simple cl-generic
indonesian philippine 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 abbrev obarray oclosure cl-preloaded button loaddefs
theme-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 lcms2
dynamic-setting system-font-setting font-render-setting cairo gtk
x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs)

Memory information:
((conses 16 39554 18809) (symbols 48 5369 0) (strings 32 12627 1323)
  (string-bytes 1 311186) (vectors 16 9402)
  (vector-slots 8 112402 10840) (floats 8 21 3) (intervals 56 220 0)
  (buffers 984 10))




Acknowledgement sent to Nil Geisweiller <ngeiswei@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#77923; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 19 Apr 2025 13:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.