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

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

Re: Visiting buffers programmatically


From: Tim Johnson
Subject: Re: Visiting buffers programmatically
Date: Thu, 10 Jun 2021 16:32:09 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1



On 6/10/21 4:17 PM, pillule wrote:
Tim Johnson <tim@akwebsoft.com> writes:

On 6/10/21 3:31 PM, pillule wrote:
Tim Johnson <tim@akwebsoft.com> writes:

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*
Do you need to see the window displaying the buffer ?
Yes. I would need to see the window that displays the buffer.
If I grok you correctly, batch processing would mean that a whole list of 
buffers
would be processed and displayed.
No. what I call batch processing is exactly when you do not display things and 
programmatically do all your tasks.

Understood. I stand corrected. :)
No, I would not need to do that.

It sounds like switch-to-buffer would work fine?
Yes. 'switch-to-buffer' should display the buffer in the selected window 
(except unordinary cases).

Thanks again. I am good to go.

--
Tim
tj49.com




reply via email to

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