all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Visiting buffers programmatically
@ 2021-06-10 21:17 Tim Johnson
  2021-06-10 23:31 ` pillule
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tim Johnson @ 2021-06-10 21:17 UTC (permalink / raw)
  To: MLEmacs

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-06-11 17:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-10 21:17 Visiting buffers programmatically Tim Johnson
2021-06-10 23:31 ` pillule
2021-06-11  0:12   ` Tim Johnson
2021-06-11  0:17     ` pillule
2021-06-11  0:32       ` Tim Johnson
2021-06-11  0:47 ` Jean Louis
2021-06-11  0:51 ` Jean Louis
2021-06-11 17:27   ` Tim Johnson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.