From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: Copying a list for insertion Date: Fri, 21 Oct 2022 18:46:59 +0300 Message-ID: <87sfjhxjpo.fsf@iki.fi> References: <29DGE8Qruce2adT4VliRagiL6uTUNrtFSw92oYfSUXNYb9vqBg9NghQyFGA13qrkl27rlPcTk0fofL30WVeSoRAhOzXr4KllyNUds2sYGxI=@protonmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20791"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.37 (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu) To: Heime , Heime via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 21 17:48:15 2022 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 1oluFo-00059g-00 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 17:48:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oluFS-0005Lo-0I; Fri, 21 Oct 2022 11:47:50 -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 1oluFI-0005Kd-Uf for help-gnu-emacs@gnu.org; Fri, 21 Oct 2022 11:47:41 -0400 Original-Received: from meesny.iki.fi ([2001:67c:2b0:1c1::201]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oluFE-0002yg-Dv for help-gnu-emacs@gnu.org; Fri, 21 Oct 2022 11:47:39 -0400 Original-Received: from mithlond (mobile-access-567353-184.dhcp.inet.fi [86.115.83.184]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: tlikonen) by meesny.iki.fi (Postfix) with ESMTPSA id D219F200D7; Fri, 21 Oct 2022 18:47:06 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1666367227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=g20WxLSgNVv0/ID6Qy2FDQuwE3xSPI32ezEKO5ITpwo=; b=ey2X8NG+kY1fIYKrakd1pnl8AVOEwEAMUBnpD/BUUqYtZkgeSOd3dG7Xj2fstmFXDC71Az cOk7qSvzAQeqVtn8n/msVbRRF3hXicMOVAFbqMA9LtukSvgYeDeE29YJeWyPMHH0f0i7ij K4/xh1ZyrTUneMEGS7izM9CSiVHAlUE= In-Reply-To: <29DGE8Qruce2adT4VliRagiL6uTUNrtFSw92oYfSUXNYb9vqBg9NghQyFGA13qrkl27rlPcTk0fofL30WVeSoRAhOzXr4KllyNUds2sYGxI=@protonmail.com> ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=tlikonen smtp.mailfrom=tlikonen@iki.fi ARC-Seal: i=1; s=meesny; d=iki.fi; t=1666367227; a=rsa-sha256; cv=none; b=CPKhm02Q6Iz3x+LdiAKqgP/So3U5+quZ3t6X3aeugqL32OAewBAZpXi+8f5TQMWLFatROm 9YzgwnhDG3az7UaPABvgDH77VziVPZmkQZz5No8ujvjjvXu0YLsl7cCl7SVFU+1tQOhDmS InvukFurawcdNQ5k5eyrQvPYRBI/ixQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1666367227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=g20WxLSgNVv0/ID6Qy2FDQuwE3xSPI32ezEKO5ITpwo=; b=ZPmm2/hLJ7+Nm/tq2EMkcddYK8ADPfYPmqO/uDW1L1Ovw4stQC4dnDYhdfyFMYBSVUglGk lQZ6ai504nmXS7GAhIpI76MvtWogju181dBUyl6qjJRCalqMndvFAwyRcWexbiLQb/u0hV olDSd8+EprVIvJLqXGuHuQZcHJKjnY0= Received-SPF: pass client-ip=2001:67c:2b0:1c1::201; envelope-from=tlikonen@iki.fi; helo=meesny.iki.fi X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140243 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * 2022-10-21 14:16:36+0000, Heime via Users list for the wrote: > I am printing a list named "cunex" in the messages buffer. I would > also like to store what is printed so I can insert the contents > somewhere else, without having to go to the "*Messages*" buffer to > copy it. > > (message "%s" cunex) (defvar my-store) (setq my-store (format "%S" cunex)) % or: "%s" (message "%s" cunex) =2D-=20 /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ // OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYIAC4WIQQL23klfGMkeOvdGCt57xklfWtWWwUCY1K+8xAcdGxpa29uZW5A aWtpLmZpAAoJEHnvGSV9a1ZbrqABANv2POdDBJqZp6ZKhfsqhZbz/Ug3K8sWmLoE 7GtWdOhyAQCS8IEEcljsYUr17KHMjgfdnTRDI3BpHviym0MxF8c6AQ== =oJWz -----END PGP SIGNATURE----- --=-=-=--