From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: shortcutz Newsgroups: gmane.emacs.help Subject: strange behavior of mapconcat Date: Mon, 15 Apr 2024 10:43:37 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34376"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 16 07:02:26 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 1rwaxe-0008ki-Ag for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 16 Apr 2024 07:02:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwaws-0002Tb-Tp; Tue, 16 Apr 2024 01:01:38 -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 1rwOUs-0007AK-1X for help-gnu-emacs@gnu.org; Mon, 15 Apr 2024 11:43:54 -0400 Original-Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rwOUp-0002RF-DS for help-gnu-emacs@gnu.org; Mon, 15 Apr 2024 11:43:53 -0400 Original-Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2d29aad15a5so32570581fa.3 for ; Mon, 15 Apr 2024 08:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713195829; x=1713800629; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=OqhYNWOQrZxfmDDQe7nTnOOFuG0wpsc/efNxkdkRcMc=; b=Q74js5ilDJzI4SMajXnQiVzTVkoeCmg6dmJnGk+A6iRBUD6tfNwW19+nJBi2bxq2yA ASemunZmnFfhtznX7ysBvW/IL37R7+q8lTTGZsTvRloaNXuSsjSpGRcs8WVvi0nV8hhT DZ4OpgCCIqXyzp91k74IjmCuToY6e67LOZ7+ovIphQepqWZOVYCCgj5Rbch52ypur6rA WBII28PbeJozLjd3hzuEvdxJChfUNY3tSXPGTL4vruKxpxU0AsyYgomAMMHZsbMrgm5s dAWmwbNhdHgMKdUG5e7ImS8NHHWsyxba3vmCbCAKtP48g8aw43oubFHO1rGH3RyY0Yp0 fMxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713195829; x=1713800629; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=OqhYNWOQrZxfmDDQe7nTnOOFuG0wpsc/efNxkdkRcMc=; b=pPQ0NpgG+EOEWHzmLra7KNchFCwVXOXZQrAMiucvWZrIVSD7/78qfwE5wJX/ucXv8T ZTST48IR0/MjekjthsQPCDYYWCsx1U1AST12jg9YI0/TdKGS6Fc427kBKuiymGfx9oHG k029OqPVxwsJ/BLK00sdkVIsmLJ7Npw7cCfdFFjx4vA2aHdXMNMr2DNyUd2EcF1Fq4p1 IH7tl9g8ZPuH2hbDOa7N4ieCnFWti83TtK6jG6JEq4kETbt+1lkm+MSDFFI7ziY7J4ej AJMTmBZcfIZ5SYezbX7GG9fJqDZNSlFdpkxzqZZwms+XnDzxuNPDqbp74sCRI6GAqVrw gBvw== X-Gm-Message-State: AOJu0Yw8BowIGk2MvL7o0P2C9aeVqZGxYcQZuN0+gdMjgGBM0bbSW59V WLsn03+4hkd+GCKT73niwSUpdXsx2CMC+6OCjHnOCdCFWfX8KZcub6EQJjvgU/qI0c0s620wWcK m8HpmjieeABFDJS9axTK1TFsC25e6c6BL X-Google-Smtp-Source: AGHT+IEtwtVQ/6uZcgoZfmVRbppamwOthgfwiIQqjr/w+X322qGcldYvg6Bf5LjTOFVOkFl3l0jYVp1dopscoJ7eFtk= X-Received: by 2002:a2e:9890:0:b0:2d4:764f:8256 with SMTP id b16-20020a2e9890000000b002d4764f8256mr6162856ljj.53.1713195828818; Mon, 15 Apr 2024 08:43:48 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=spookygostee@gmail.com; helo=mail-lj1-x236.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, HTML_MESSAGE=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-Mailman-Approved-At: Tue, 16 Apr 2024 01:01:35 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:146334 Archived-At: Hi all, In a piece of code I call mapconcat with these arguments: (mapconcat 'org-no-properties "t" " ") I'm getting the error (wrong-type-argument sequencep 115). This is the same if I use the identity function or any other string instead of "t": (mapconcat 'identity "t" " ") (mapconcat 'identity "string1 string2" " ") What am I doing wrong? I don't really understand where the 115 is coming from. The code is unchanged after macroexpanding, and sequencep says "string1 string2" and "t" are both valid sequences. Thanks R