From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#60501: 28.2; pr-interface: widget-default-create: Wrong type argument Date: Wed, 4 Jan 2023 12:21:55 -0300 Message-ID: References: <878rik1yym.fsf@gmail.com> <87zgayinj6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1382"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: 60501@debbugs.gnu.org To: Robert Pluim , Fernando de Morais Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 04 16:23:25 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 1pD5bx-0000Es-8G for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Jan 2023 16:23:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pD5bf-0005s9-Ug; Wed, 04 Jan 2023 10:23:07 -0500 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 1pD5bc-0005re-5k for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2023 10:23:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pD5ba-0002XY-NY for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2023 10:23:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pD5ba-00079X-IU for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2023 10:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Jan 2023 15:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60501 X-GNU-PR-Package: emacs Original-Received: via spool by 60501-submit@debbugs.gnu.org id=B60501.167284572627400 (code B ref 60501); Wed, 04 Jan 2023 15:23:02 +0000 Original-Received: (at 60501) by debbugs.gnu.org; 4 Jan 2023 15:22:06 +0000 Original-Received: from localhost ([127.0.0.1]:49346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD5ag-00077r-C7 for submit@debbugs.gnu.org; Wed, 04 Jan 2023 10:22:06 -0500 Original-Received: from mail-oi1-f175.google.com ([209.85.167.175]:39692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pD5af-00077G-LI for 60501@debbugs.gnu.org; Wed, 04 Jan 2023 10:22:05 -0500 Original-Received: by mail-oi1-f175.google.com with SMTP id o66so29736765oia.6 for <60501@debbugs.gnu.org>; Wed, 04 Jan 2023 07:22:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FLDM69jT1aT8DzE0OafpRKrlv3sj2k4R9IOVBItx3qE=; b=O7glvmqv7HnvvouQngAsbq7m4s/KHFsRUPZ+UMbEHn45GLFWZSjZKF2i+FfODvoWUQ l4VLtS8k/OXpv5G785esmybz2+8bj7fytny8mrZ42Djk3pCNQbOsCEXySNOu71AM3p8V FiWXxgBAgB0yRIxDZuD0bt9j3cSUd6LK3a45jrRyKpEPymOiH76rvSDQ2gBOEeZDb3al 0zb5yxqeVyPXJkrz8PcZSW+DBEjdJRGffvtw9YHxdMejhsiDmhmBm1grnfmemu1eIbDm js0HapXewjLt5TUKWDrWVcTq3JUhv3l9DipBFjQKq5Azr+v7tWMnFXl9WTk6AVHyd4CH gpHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FLDM69jT1aT8DzE0OafpRKrlv3sj2k4R9IOVBItx3qE=; b=TxAtGUAzyAwFQ1V4TYv4luhi+HYAtzDLo1NHOXveXberCaYmI8e96Jkk4pXKNDKMv5 ZP4cScGnVkZQesSEyaAEBJIcSfwJpiqmLtwtkxZHogyPiHpcJqDtpUEOShdTKaIdlaQv l26UAJcX/qUlT2+5jWArsRXy4S11RvSqPVUwNsqnXx+o/gPi2csWC+qS70BBs3gjW8Gf BPcg4cUBHVp+MazVAQ/Gmzya3B82MkAlU9yBxH+XR8YUGJQ2BXybFWxu5Tza1BU9fho3 q4Nz2ekx6Q6mQBZYNtsPb4GA/Yi+G4lX9ul0ZMzFF15nGcE+nZ9g5nY/xdeYMcF3wRjW J/vw== X-Gm-Message-State: AFqh2krAnSd7nisYKfKmGxnEOI4QHYR2N/a2w1x3qBGNk6W8wL79b128 bcWFvvGa6PR9cb6GOli+7JM= X-Google-Smtp-Source: AMrXdXsiP/8dRrDjHNFODHmhHDjctqLFrcJr+9BWAOXt44OTvWklB+p7TfvzXsAgu8jxyFAmD4s6KQ== X-Received: by 2002:a54:4193:0:b0:360:bf65:a198 with SMTP id 19-20020a544193000000b00360bf65a198mr20582416oiy.49.1672845720060; Wed, 04 Jan 2023 07:22:00 -0800 (PST) Original-Received: from [192.168.0.234] ([181.228.28.240]) by smtp.gmail.com with ESMTPSA id o20-20020a0568080bd400b0036305193c4bsm14427647oik.3.2023.01.04.07.21.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Jan 2023 07:21:59 -0800 (PST) Content-Language: en-US In-Reply-To: <87zgayinj6.fsf@gmail.com> 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:252492 Archived-At: Robert Pluim writes: >>>>>> On Mon, 02 Jan 2023 17:08:33 -0300, Fernando de Morais > said: > >     Fernando> To reproduce, which is possible with `emacs -Q', just: >     Fernando>    M-x pr-interface > > This has been broken for quite some time. Bisected to the following: > > commit cbd24607d7b7419eb0f639c95185aff13f99c10d > > Mauro, any chance you could take a look? > > Robert Hi Robert, thanks for CCing me. I don't have a lot of time right now, but I took a look at the code in printing.el and I don't really understand why its using :inline t when creating the menu-choice widget, since the values seem to be strings or symbols.  That is, nothing that needs to be inlined. I wasn't aware of this breakage, of course, but it looks like I should've made the code be more defensive (i.e., use car-safe instead of car). If I get more time, I'll try to see if that's a solution here.