From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Greg Hill Newsgroups: gmane.emacs.help Subject: Reading from a buffer Date: Wed, 1 Jul 2020 12:12:06 -0700 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="4374"; 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 Wed Jul 01 21:13:25 2020 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 1jqiAe-00011y-E6 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 01 Jul 2020 21:13:24 +0200 Original-Received: from localhost ([::1]:59736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqiAd-0002Nc-FA for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 01 Jul 2020 15:13:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqiA5-0002NU-O5 for help-gnu-emacs@gnu.org; Wed, 01 Jul 2020 15:12:49 -0400 Original-Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]:45228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqiA2-00048r-1z for help-gnu-emacs@gnu.org; Wed, 01 Jul 2020 15:12:49 -0400 Original-Received: by mail-io1-xd2b.google.com with SMTP id e64so21316113iof.12 for ; Wed, 01 Jul 2020 12:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=osStKZWo03h4KFRo5B3JEO9jsgNajkHVFlDyGWna8E0=; b=gyLcxvdJgkpeIuRosxJ80DbeGolPU6IKiofF3zpM+XIGkqpdVPL+FFTSCilu72HWn4 OgVb0qgEqzYE3/4FwTt81cVklQveondZ79MwMIS+EXjd+1xSnA3pCwnU4MNtu2OB8ZHs XUd7111QI2pmcXIiyvbk5MjShAr060sv177fLF0C6N1LDJHiKBm+Xsc2pECorKlXb7BU BzIYyqG4wk+EN0wRdfgR59vKiz7B4tU+u6H5MB53wyJ0TzXAiGL29X/Tuu4oJ943nZkJ CRvOvEeLvxSidGpQ3BSOm4xj/qX0BQBVr/9SWe8w3+D7sn5Kp8FosZj3ZRtVczuhQtAD 4kGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=osStKZWo03h4KFRo5B3JEO9jsgNajkHVFlDyGWna8E0=; b=koCtqKZyzLTAUzo/HGc8Ta4VFZMDYLUXb3/5oUGvJ++Mj6KUik/Q1lmsHCJyOtj4oS 54wksh6UzqIwXrPWraixUF4zsqytQSjyu8N/CY5F4Psv9rtVhvNaLuV+udrxtnnE15TW fXahaOTJL2GECWTso1ggNjfwNJ0Rj2APPYw7tWpQW0XszClsYYvFYSGLz6UxlD1WeiqE wOmMz/SLqEkwgF5TyBCviRT2gy6iO56Lm8xBc4RzE6ZKvXaYMzhCkknCpH0uOP5ptRTe KPxESfPMgBF7qyOCpRfx6PdzGGDBey8DBgPszEepOALeO6GZBy0oYTiDtiOvrXn5TRcZ 26/w== X-Gm-Message-State: AOAM532p0dzquhmW9S0GrVVERorO+qh88zLr4m4hRasPZWPYkvn3hoYi t1JwgUKMU1kEnN5Rlg6BtZgOEl8Djz80ue7MNgpoJvBO X-Google-Smtp-Source: ABdhPJzeP0cP9QpBGg15pRDD+l8Geq506lxSw0EXD9oxa2V5PK2EUoaZkMALlATGR4ozD8HtRm5codBJuQ3ZLn4J8lU= X-Received: by 2002:a02:601c:: with SMTP id i28mr30619260jac.22.1593630763229; Wed, 01 Jul 2020 12:12:43 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::d2b; envelope-from=gregoryohill@gmail.com; helo=mail-io1-xd2b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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=_AUTOLEARN X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:123461 Archived-At: I've pretty well mastered the process of *writing to* a buffer using *insert* and *format*, but I haven't been able to find any equally easy way to read that same information back. I've hacked together a workaround using *copy-to-register*, *get-register* and *read-from-string*, but surely there must be a more straightforward approach than that. I've searched and searched through all the documentation and have come up with nothing for doing a simple formatted read from buffer. Any suggestions?