[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Visiting buffers programmatically
From: |
Tim Johnson |
Subject: |
Visiting buffers programmatically |
Date: |
Thu, 10 Jun 2021 13:17:03 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
cairo version 1.16.0)
of 2021-06-04 ubuntu 20.04
I would like to write three simple elisp routines that would each visit
one of:
*scratch*, *messages* and *shell*
For *messages* I would only be reading or copying text.
For *scratch* and *shell* I would be modifying those buffers.
which elisp function is best for each of
these buffers?
Would it be switch-to-buffer, display-buffer, set-buffer or something else.?
Thanks
--
Tim
tj49.com