From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.help Subject: Re: inserting a cons cell returned by a function Date: Wed, 14 Aug 2024 10:46:36 +1000 Message-ID: <86cymcc4nn.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5335"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 14 02:47:28 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 1se2Ah-0001ET-K3 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 14 Aug 2024 02:47:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1se2A1-00019E-PN; Tue, 13 Aug 2024 20:46:45 -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 1se2A0-00018o-2W for help-gnu-emacs@gnu.org; Tue, 13 Aug 2024 20:46:44 -0400 Original-Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1se29y-0002oB-EP for help-gnu-emacs@gnu.org; Tue, 13 Aug 2024 20:46:43 -0400 Original-Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-201d5af11a4so4066275ad.3 for ; Tue, 13 Aug 2024 17:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723596400; x=1724201200; darn=gnu.org; h=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=/T0YeQY9PbfUoVVZdYJQhkMnDJX/OBE5CukNi7bcWsQ=; b=Ll7y/7zXfqZQmLDOyAPLR/gfwypmVROg1K2bQIiKUeyxyeSnZ+kW/h2gAc3txvQRSn 83C0+4b/FgeoEDY+Q3m2R6uwl+gqo5n7DpgegISG3TuopcuzQXcsSyDv8Rv1/USx6dAj 0oBD0bqdYqZ30G8x6xMErUbtatAui8IHQrp7NuOEaiynuCHDVOxN0u7MaN4RXl72J/KV Pt0cJHOd2hpVfShpXb1yuKHMVsjkYGyFBmzWGJrO6Ym8ZaIYBewgzXfdAZE/zYu4Rb7q pzuZAuzxO+jyYOqDoN2B+WCc/Fagq7+kqvxFNHIATh0d2v+VWFjOBEtR1NYTR7ysFcdy vPfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723596400; x=1724201200; h=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=/T0YeQY9PbfUoVVZdYJQhkMnDJX/OBE5CukNi7bcWsQ=; b=l7eHXxQMTSVzMYr8l//E1FEMgssED8XvQA5eF6vwPIcruSbB/ntxWtGnW4yx8BZ1vj imSSs3ndzD7zwcGaMuVspMtDyI8fxp7Ey/uO1a59UjznvyvBITC90ruC8/zkriG09sP3 iFQQPcmtYyYJyFnsEHQMLdgNIwrfJhiE99X5E1NnRZajlkt7lghZavrn/SXUE2p1JgZL /6SXjxWndwn6qDl2Egi1mmE8KWnPSKzKRP39wCUF1etkpZ2RMrYCw6vW083Tyno8/VfA aSSv0HDcgwBHrwtbyC1yNZrOd44OMhdsHMOzQfPUtmZftSvD0hmk/excJpQ4xKYZTbcU N5CA== X-Gm-Message-State: AOJu0YxPKj1dt/gQb7y0lUDZrfwHI7JWn+fEhT+nEh4SXXHObVojKG7q tWplc/QYU7eB8nRt0+kbUAo5/b5RAxkRtGcVtu3QbjnhaIctyT6I0LW3oA== X-Google-Smtp-Source: AGHT+IHx7VkbLwVrKaEYuepv9+7g2ZFrMue27x6cMdIMT7Oyw1+m+cQfn8ukSexPqeaOa5O2MWu7cw== X-Received: by 2002:a17:90a:4b8b:b0:2cf:fcce:5a15 with SMTP id 98e67ed59e1d1-2d3aab42bbamr1459623a91.28.1723596400190; Tue, 13 Aug 2024 17:46:40 -0700 (PDT) Original-Received: from LAPTOP-ACR66VVN (14-200-117-165.static.tpgi.com.au. [14.200.117.165]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d3ac856c81sm218916a91.49.2024.08.13.17.46.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 17:46:39 -0700 (PDT) In-Reply-To: (Heime's message of "Tue, 13 Aug 2024 19:09:47 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=joel.reicher@gmail.com; helo=mail-pl1-x62f.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, T_SCC_BODY_TEXT_LINE=-0.01 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:147667 Archived-At: Heime writes: > Have made a function navcons that returns a cons cell. > > Whilst this works > > (insert (format " /* %s\n" (navcons "/*"))) > > why does this fail ? > > (insert (format " %s %s\n" comment-start (navcons > comment-start))) The error you get might explain it. Regards, - Joel