From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Writing text to a dedicated buffer Date: Sun, 2 May 2021 14:48:29 +0200 Message-ID: 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="33285"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 02 14:49:33 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 1ldBXR-0008bz-Ih for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 02 May 2021 14:49:33 +0200 Original-Received: from localhost ([::1]:43038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldBXQ-0004ox-HR for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 02 May 2021 08:49:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldBWU-0004op-Sx for help-gnu-emacs@gnu.org; Sun, 02 May 2021 08:48:34 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:34743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldBWR-0003Xp-Q0 for help-gnu-emacs@gnu.org; Sun, 02 May 2021 08:48:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619959709; bh=Zih76YNAkhWLnSq2P2l50qTNbXVarnVG+CNXC8csT/0=; h=X-UI-Sender-Class:From:To:Subject:Date; b=QigmAFTiuHQLpcbu0tThoTqZi5cg+HhWBd5ZINbMQ+ZqLKgbT2PugkRyp9Bryf40J 6oFc0AIYTcvHdSGcM54shEQMB3bvuLm45l7bRAZqHI2y+1uMc0qa4BjqOlAiAA7RZ+ rsgs5Ka7npsnAAn8eABQBBdOkrvNKzI1fo++iMJk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs08.server.lan [172.19.170.176]) (via HTTP); Sun, 2 May 2021 14:48:29 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:obPZ7WkD8mq/2XS4ESGNQUACkq0Ro6yUmRq+gJsKwtC6l+fiZaYQyVSZo5pGId1f7UJlZ ZHd8fRkcl0gAfQ4JlZW7GNe+twwNbRAsNkzW3L/+nWMaXtNG7Q0zY6pc3u2PKhdu2m8vo50PYOr7 C7d/Wz9pmh+Cd0TaRqLucBvLuMTZGAGd/d/K5Jtf8v0iaOLeDJa+tf4aK4ldXFPH6ThHaom/Cv4z V1c1sl0uiVGQ9O1Ljm/im9IN0vEbTxBC8Bm6mPyREOJSYVZv5x1NjsctfoPcZCzTQ+HYoitwi9Lm v0= X-UI-Out-Filterresults: notjunk:1;V03:K0:BdTqrfnaFo0=:032PGWuOSn+MZD/ryAtZYQ 2FX9yWtep9s7U5rklqwaeluOLrCvGRI+95TXnp4wMbute1CSsmjRmNIlxgWrbacK3x+IoS8xQ bQrT17F9iBSnsepeB6xM4ZEO6qoNNedyq/J/zwqfgxD71QZoBQZESFNayEVP0NScqEvoG3VW4 PahPIS/C8fbpDIx99knFz+v8UkerNsr4U+hX9gJBijy8W4p8t0GnjVfs5NVRX0zvXfQv9mrl2 mZXhQ9tznVFo16nU4sCSqkLxLE/SB5FlRAI+8twlfPbVdhawUNBuyiHXcxuan2HNQxx8SxL0m rGXIJESOBR+zSmkvyEiRU11dfNDXXhWqKfPnk3px3Q9czgyiA5945eDhVD6oV4ImUPilGxuR8 ggxqrmkaaghkBmFUmQXgV0yvyfBxVAv/CflxfuX6tgpGt8c8J9aaMBGSLqbttLecrJdnsGCpe cl2C39RxQGPWHvAu9C5xmmqU10d7s7ZmRLE2l2oY+PL011KIhsJ0EoRLFA71kPaAqduWi02rk 8+oL2eS0OHW6OzCD1Np7tMqn4Ov5r94AUu5oo/S2n8Oh80vl1Cw/fqS6os30e6PAjU4LOa7Rd kdQwNNg7JMPI7li9R1LAYqlGCVSjypXXZ89lj+9WEY4qgUp+I33+CTRNIZBToVWoWzVVaJljV gz5mKuIqP0Pu6Su1hCL57uqlV83iq0mORqrzS6qtDSc6rp0aJRqBAUgdgCkwLvNow2HtSraQz +GchBaDDkoxFsiYUGybVrPMGvDaOWII22H646Jth53cxhCCNcCHgmHvHt7e+DIhDgjl3JRb7 Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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.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:129328 Archived-At: I am writing text to a package dedicated buffer. Is this the way to go about doing that. Or are there neater ways? (defun gungadin-guidance-message () "Displays embedded rudimentary help for gungadin. Gungadin forms part of Behistun, a Gnu Package." (let ((out-buffer (get-buffer-create "*Gungadin*"))) (with-current-buffer out-buffer (insert "\nGungadin\n\n") (insert "Gungadin is part of Behistun, a Gnu Package.\n\n") (insert "Gungadin 1.0 of 2017-05-02") (insert "\nCopyright (C) 2017 Christopher Dimech\n") (insert "\nAuthor: Christopher Dimech") (insert gungadin-guidance-message) (pop-to-buffer out-buffer))) )