all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arthur Miller <arthur.miller@live.com>
To: "Samuel Banya" <sbanya@fastmail.com>
Cc: Emanuel Berg <help-gnu-emacs@gnu.org>
Subject: Re: "Screen"-like functionality
Date: Sun, 22 Aug 2021 04:46:15 +0200	[thread overview]
Message-ID: <DB9PR09MB498617FFD298A7A25A89080F96C39@DB9PR09MB4986.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <1af4d2a2-9cb3-4f8e-8f21-d01515167d66@www.fastmail.com> (Samuel Banya's message of "Sat, 21 Aug 2021 20:02:32 -0400")

"Samuel Banya" <sbanya@fastmail.com> writes:

> I think most people in this thread don't understand how awesome have different
> panes of pre-selected terminals, or ncurses type programs in a specific
> designation of split panes can be. 
Or most of persons on this list have been-there done that and moved on
... Split panes = Emacs windows, you can open as many terminals in
those windows as you want. Emacs = your new tmux. Don't worry, you will
get it in time :).

>                                  I don't think the main OP is after figuring out
> how to manipulate the buffer list itself.

I don't know, why don't he reply himself what he is after, if that
wasn't what he wanted?

> Just wanted to note, please check out my post with my previous research as I think you'll find what you're looking for.
>
> Also, my take on default buffer management in Emacs is that it sucks by default, but the iBuffer package helps a tad bit.

You are free to prefer which ever application you do ofcourse, but I
suggest you to try helm for buffer management. iBuffer is a joke
compared to helm. 

> I'll have to join this thread in that I too have been seeking something that allows you to designate a couple of pre-loaded buffers, or programs loaded via ansi-term or vterm that would be saved, and interacted with, just in the same method on how 'tmux' does different windows of buffers.

> programs loaded via ansi-term or vterm that would be saved, and interacted with

What exactly do you mean with "loaded via ansi-term" "saved" and
"interacted with"?

Loaded via ansi term? You mean when you start ansi-term or vterm you
would like to run an application? You can write very simple elisp
scripts to run programs you wish in their separate terms, try this:

(switch-to-buffer (term-ansi-make-term "*term-top*" "/bin/bash" nil "-c" "top"))

If you read your email in Emacs you can just place cursor after last
parenthesis end C-x C-e. See what happends.

By saved you mean you can switch windows and than come back or you mean
you will save those in some scripts and have same programs run again at
later time?

You can write a small elisp script to that for you, and than simply load
your script on demand with a keyboard shortcut or put it in your init
file. You will have to learn functions to manipulate windows and
buffers, but it is not very complicated to accomplish
that. Alternatively tab-bar mode might be something for you to look at.

Intersting how much tab-bar mode got promoted this night :). 



  parent reply	other threads:[~2021-08-22  2:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21 13:24 "Screen"-like functionality Julius Hamilton
2021-08-21 13:28 ` Jean-Christophe Helary
2021-08-21 13:54   ` Samuel Banya
2021-08-21 18:27 ` Arthur Miller
2021-08-21 18:55   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-22  0:02     ` Samuel Banya
2021-08-22  0:12       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-22  0:30         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-22  2:46       ` Arthur Miller [this message]
2021-08-23 14:48   ` Julius Hamilton
2021-08-23 14:52     ` Jean-Christophe Helary
2021-08-23 21:53       ` Arthur Miller
2021-08-23 22:45         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-24 14:43       ` Marcin Borkowski
2021-08-21 18:49 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-08-24 10:02 ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB9PR09MB498617FFD298A7A25A89080F96C39@DB9PR09MB4986.eurprd09.prod.outlook.com \
    --to=arthur.miller@live.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sbanya@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.