From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tpeplt Newsgroups: gmane.emacs.help Subject: Re: [External] : Undefined behavior for the function =?utf-8?B?4oCYbGFzdOKAmQ==?= or an error? Date: Mon, 01 Apr 2024 16:11:00 -0400 Message-ID: <8734s4alnv.fsf@gmail.com> References: <87il119g8u.fsf@gmail.com> <87a5md9bil.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18025"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: "help-gnu-emacs@gnu.org" To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 01 22:11:53 2024 Return-path: Envelope-to: geh-help-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 1rrO0W-0004Ul-QY for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Apr 2024 22:11:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrNzq-0005Yx-K0; Mon, 01 Apr 2024 16:11:10 -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 1rrNzk-0005Wq-Fg for help-gnu-emacs@gnu.org; Mon, 01 Apr 2024 16:11:06 -0400 Original-Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rrNzj-0004Af-1D for help-gnu-emacs@gnu.org; Mon, 01 Apr 2024 16:11:04 -0400 Original-Received: by mail-qt1-x829.google.com with SMTP id d75a77b69052e-432d5b5f00bso15073791cf.0 for ; Mon, 01 Apr 2024 13:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712002262; x=1712607062; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=v9MIgG7y/z1XETxDSQxgrlaV+5S9ESHLNp/qZX5LG6E=; b=ZAWS4FOjKpbPj44rZ0eMSoWEor+89+8qe9+PLDv1UNdzNdYibNAzEh9U8B8KbEVuTs YxpXhsgJWWQ2Jo72awiSXrjo5ws4aR40Yg8vkcftKSaimHgsKpF9xe5lUA8TgRSB89sJ McFgzF4p6WMPhwpo42RiF8X/sEO3Sw+hwKkoK44b0lr05KT0x+2Rxp+cZryk2AMHz4ZV iuNkDCyNTMgqQFoc0rekJpVdXN2GS8OD7jwjdkGK8u9tWg2B6rEXhCMa7QlayGg5OQUG iC+6eOOMvSlmqPXiWT4I15pGgXaN0O9opBoqzGzzWrBADQOc+U6jnRzFnzC7dvOVRi5o hlUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712002262; x=1712607062; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=v9MIgG7y/z1XETxDSQxgrlaV+5S9ESHLNp/qZX5LG6E=; b=KrYNTtdxo1APAw9zbjAp+D9y/rjjO4sqyCrurlIwjAinJDTqQAQQ7BrET04WXufVkT 364g7uMl1TUWTO7Y3vlIeclinTxX4tIpgotHQBVVjl7EBKFKKHT7F4zhUfjzm3M2aMtu P+HT9fxRI7DIvUP08LngtKeKGSp21D1wZGTD4ETG+cF1Q1U8rh2UwXAY1ar75o56d+G3 qWjC892NWKz7ktDj7FzvHQdydYaWlR+3dDy7PLmTL5l5gRdozJeE645F4g15H4nXzy0p 3EJV9+CEUioTo4e3zUjcHOlgvuiuysEz/x/W3E1E/iw5FJs93DP8Zu4RNL8ecPLVo+HP CLWQ== X-Gm-Message-State: AOJu0YypgBKFLYQxa/aWh43kVdQ5vOl1OvBO+aHtMA8dm5u+TTLVwYyx gAGdJapUXTpnlBT64AXiAME5CXG1A65EgVuwRMgmwsBvb7t17oCm X-Google-Smtp-Source: AGHT+IG/3zeAFmRRxxHGclvsl53VjSJg+IY+phbJFEnMUn92BkdMlUhmgjJrH6hVCcsrPrOFYfh9Vg== X-Received: by 2002:a05:622a:50b:b0:431:255c:daa6 with SMTP id l11-20020a05622a050b00b00431255cdaa6mr16913231qtx.18.1712002261678; Mon, 01 Apr 2024 13:11:01 -0700 (PDT) Original-Received: from t530.local ([2600:8806:a821:2b00::5acf]) by smtp.gmail.com with ESMTPSA id bn7-20020a05622a1dc700b00432ffdf1b38sm429043qtb.10.2024.04.01.13.11.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 13:11:01 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Mon, 1 Apr 2024 19:25:27 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=tpeplt@gmail.com; helo=mail-qt1-x829.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-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146224 Archived-At: Drew Adams writes: >> > IMO this should be fixed. Someone(TM) will >> > maybe say it's intentional (but then it >> > should be doc'd). >>=20 >> Also, if it is intentional, then it should be documented why it is >> inconsistent with how the related functions =E2=80=98butlast=E2=80=99 an= d =E2=80=98nbutlast=E2=80=99 >> behave so that users do not expect those two functions to accept >> non-lists as an argument. >>=20 >> Also, checking a few other list functions, =E2=80=98nthcdr=E2=80=99, =E2= =80=98take=E2=80=99, and >> =E2=80=98ntake=E2=80=99, there is a similar inconsistent result that mig= ht be >> intentional or not. The behavior of =E2=80=98nthcdr=E2=80=99 is unexpec= ted, while the >> behavior of =E2=80=98take=E2=80=99 and =E2=80=98ntake=E2=80=99 are unpre= dictable because these are >> Emacs-Lisp-specific functions. > > I suggest you do: `M-x report-emacs-bug'. > Thanks for uncovering this. Thanks for the response. I will wait a day to see if anyone can point to something I have missed. If no one does, then I will report the problem. --