help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading from a buffer


From: Jakub Jankiewicz
Subject: Re: Reading from a buffer
Date: Wed, 1 Jul 2020 21:21:48 +0200


On Wed, 1 Jul 2020 12:12:06 -0700
Greg Hill <gregoryohill@gmail.com> wrote:

> 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?

I was asking same question few years ago on StackOverlow:

[How to read contents of the file programmatically in Emacs?][1]

[1]: https://stackoverflow.com/a/34434144/387194


--
Jakub Jankiewicz, Web Developer
https://jcubic.pl/me

Attachment: pgpQ79NGI083A.pgp
Description: Podpis cyfrowy OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]