From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.help Subject: Re: Writing text to a dedicated buffer Date: Tue, 04 May 2021 16:07:47 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10854"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Help Gnu Emacs To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 04 15:09:13 2021 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 1ldunX-0002fz-Oc for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 May 2021 15:09:11 +0200 Original-Received: from localhost ([::1]:51644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldunW-0007y3-Ph for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 04 May 2021 09:09:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldumH-0007wL-4w for help-gnu-emacs@gnu.org; Tue, 04 May 2021 09:07:53 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldumE-0005Mh-TL for help-gnu-emacs@gnu.org; Tue, 04 May 2021 09:07:52 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 237B85C0065; Tue, 4 May 2021 09:07:49 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 04 May 2021 09:07:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=Jn6rKEi9HF19IuXz7QuHFYx4/c Caj65yjOvbKdKc+B8=; b=I6DsETTKXXeTnjUVyyicGqyp9BT9tiRSl1FHWUzs18 mkpoON/Qg9xPc9/3eSWphWDXAzHBEmpXnt+YezxjOzii5KPT37Z/RoYU5DiP10Ol EodZtM/Ez0o3M4kSWmtUY0M5KcKa1PmOa1+p64R2o6QNj7pubZAjI8noyhV9oWBt duLhmIby5dBxXTdGMqfj/j96E1WonVwLf5lDyhtEfP4Fraw+HFnTMPiWzxw7qi8b BdxSuNhfPgqmqJ4t8w1ycBYeUjxiLY4khQXZ09MIyS0dCV/bcWBmCDd+sKKQ8X5d vpWvvLSZ/WBxCmSjslUm2F5nk1bs5+KK3QwIOIfD0C6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Jn6rKE i9HF19IuXz7QuHFYx4/cCaj65yjOvbKdKc+B8=; b=TfT/pbjiqZFLaViM8Y2qbs bGbz8jCcUZk8YsFPaHEt4I9Yzs//hgeidepR7qR71pgRvgC2HIEMG7YCv4QHU+S+ b4J2wd2O0GZIiob2S7rhyGtGTb70uZ5PQ3Rfe2/FU/5FTlTADHzXcVniK2YN9qy1 etFVPoqbo4KmyqES41RJEyIC81/Sw9B4e9V/j6QnXj9hMSow6BSiFJyMb42/W/dO 3PQKo4FehiF1qnV6lhUjmUCfSP6jKeUELvEGEmqdWiLbKLNjOvzYDxq++FJ5efOv b6zvS5hJk4MLw/K/3/btLvLS9gJEAPjEMRsvvPDLd9WnhIxK6y9XNYcP9VnLerXQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefiedgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecuggftrf grthhtvghrnhepvdevkeffvdeuvefhuddtjeehkedvueefveettddtveduudfgieffieev ieevhfdtnecukfhppeekgedrvddtgedrudelfedruddtieenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfghhunhgsihhnsehfrghsthhmrghi lhdrfhhm X-ME-Proxy: Original-Received: from fgunbin.local (unknown [84.204.193.106]) by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 May 2021 09:07:48 -0400 (EDT) In-Reply-To: (Christopher Dimech's message of "Sun, 2 May 2021 14:48:29 +0200") Mail-Followup-To: Christopher Dimech , Help Gnu Emacs Received-SPF: pass client-ip=66.111.4.26; envelope-from=fgunbin@fastmail.fm; helo=out2-smtp.messagingengine.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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.23 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" Xref: news.gmane.io gmane.emacs.help:129425 Archived-At: On 02/05/2021 14:48 +0200, Christopher Dimech wrote: > I am writing text to a package dedicated buffer. Is this the way to > go about doing that. Or are there neater ways? Check out with-output-to-temp-buffer, looks like it fits your use case. Filipp