From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.help Subject: Re: "Screen"-like functionality Date: Sun, 22 Aug 2021 04:46:15 +0200 Message-ID: References: <87eeam4ogc.fsf@zoho.eu> <1af4d2a2-9cb3-4f8e-8f21-d01515167d66@www.fastmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26940"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Emanuel Berg To: "Samuel Banya" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 22 04:47:17 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mHdVz-0006id-Hi for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 22 Aug 2021 04:47:16 +0200 Original-Received: from localhost ([::1]:54962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHdVy-0005pb-2e for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 21 Aug 2021 22:47:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHdVF-0005pP-9D for help-gnu-emacs@gnu.org; Sat, 21 Aug 2021 22:46:30 -0400 Original-Received: from mail-db8eur06olkn2089.outbound.protection.outlook.com ([40.92.51.89]:32992 helo=EUR06-DB8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHdV8-0001NH-1J for help-gnu-emacs@gnu.org; Sat, 21 Aug 2021 22:46:28 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T8l3eLV5IYg9/6NvGqVr8+0/5IFnXQPwNEP0D3fsO4SlZ8E1tEoa648UpEnUu40OwwMJo5R0CUGWi66yU/CXyBEeugEaQ7m5BOdaleMxBVXILgAGsFYxrYPlI8mO9mlHVO9gLbfI3BsGRougIOKRWGLzYxW7yYd9aocOEJCOx+ryNpveyF7IQx7hT56xEvSqxeSDr8/hXYy6in86RGQ6BSxm5jY9O50EHmqH5Atl/aleHWzZm+a7DPGrExj8Pf942BXqiFysOQjN1uJpX+zMGYSkq7yXmAipVdbaX1uah9DHVMxYRPkRpwvu+k73mlkPMvXKXpEyR4wXR57cLFp3TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TUU62MPy+Czc0dKPhvFOqzWtZMmJzUppmGj+RxFwhqo=; b=IuVO7mmW6m6yd/LGWEWY74qavhd0HGWYshcbq7fCz3ARZpyNkdd6UsK1de5YjhGv9MAM/vfcWPT2SQxmDEDT9SR3HVvI4ZSXb5nrnaCgXBhnhcYPnn+YWh6f9JjvGe/ooURBqqhQCZt2tZjMaLKY9uHrXkk73lpl5IAIM6Kr01ZpiDuywSo3Z4SwN76wdT93s7Btl/7whEz3YCe377vfV3B5wnCP07sCr9mVBEEJZihgEIEH3XhwjnZjQcwXG21GyGhP0v8qfgQDFPvnpiEaGCqmTyUz+409PuNApELkq+1g1v3hNLwZ4xLRSB6bha8N+PxFldf9jm1OarfPbfM8YQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TUU62MPy+Czc0dKPhvFOqzWtZMmJzUppmGj+RxFwhqo=; b=Q72/XjvHRCqegnyGNrtA6Hqo03f317bh+AeELsytSg5UQNZUabi19KZdC5OTBYQEde5P9BfB3fMnnNGtZNGAtAgPPqANKzhhJtXiYk7oVaaH79xPK4U1X/nm9rT299u6iblODhAaU/fEaP4whBY7gw2DgWZHemRoxo00pXEh7S6Ye12M5gSffYPP1CQJgsbwNKhIFxD94id30fogFcqG2v0FaMBNeCTKtRhqwYJoAqU1TCFkGOXv+p/RugcA2CopAbHw3oCFRwMV0J5KXn5S/USAz9Sz/OEegDq+MZFN2Lr2g7CJQg60TJYVtukTdxWeXqGfXTgjlKv0wEhMYNeWEg== Original-Received: from VI1EUR06FT062.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc37::52) by VI1EUR06HT120.eop-eur06.prod.protection.outlook.com (2a01:111:e400:fc37::357) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19; Sun, 22 Aug 2021 02:46:17 +0000 Original-Received: from DB9PR09MB4986.eurprd09.prod.outlook.com (2a01:111:e400:fc37::53) by VI1EUR06FT062.mail.protection.outlook.com (2a01:111:e400:fc37::85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19 via Frontend Transport; Sun, 22 Aug 2021 02:46:17 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:22FD28AB1938FD60C2F85E13D2D95139D49F9D2F7D5BBB948512C48DAE4B16C4; UpperCasedChecksum:344E7977736EF3F16D9E06B1D82911F6C53AC0FADCA030A81F75A1E13B18BC69; SizeAsReceived:7628; Count:46 Original-Received: from DB9PR09MB4986.eurprd09.prod.outlook.com ([fe80::3c04:7779:fecc:933]) by DB9PR09MB4986.eurprd09.prod.outlook.com ([fe80::3c04:7779:fecc:933%3]) with mapi id 15.20.4436.022; Sun, 22 Aug 2021 02:46:17 +0000 In-Reply-To: <1af4d2a2-9cb3-4f8e-8f21-d01515167d66@www.fastmail.com> (Samuel Banya's message of "Sat, 21 Aug 2021 20:02:32 -0400") X-TMN: [iXOAPucsQ1a8EM2D4IPdV1vugqiD8iB+] X-ClientProxiedBy: AS8PR04CA0083.eurprd04.prod.outlook.com (2603:10a6:20b:313::28) To DB9PR09MB4986.eurprd09.prod.outlook.com (2603:10a6:10:2a9::19) X-Microsoft-Original-Message-ID: <875yvy9oy0.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AS8PR04CA0083.eurprd04.prod.outlook.com (2603:10a6:20b:313::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19 via Frontend Transport; Sun, 22 Aug 2021 02:46:16 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: d1f1e942-4f0a-4345-8844-08d965170361 X-MS-TrafficTypeDiagnostic: VI1EUR06HT120: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LFWPTOpj9ArtglbcQyNBdO8Q2ZjBCzGGlVLD5phFEVENZebhsUY/o7FDQrL/Lfwh57IfMZmuXPcAWgAdXJb6lvcf76WZBJfj+NXEs0Ixq3hoiXmE+g6Z8fYJCxLrmDEHenrIdeu197bSm9fb0ZoahTn/lpBjGuevw0yFmFi2sxG56XhoNv0s+zAwKGXLtnU+/Fx5d5IFDgOl7LS+dRQLWsxyhI8qK+BHLS3pBZIaBGe46etlBSsXJ2L4+hvSZJDIRH0/LJXgV9hdIug4kORCgEEntF89e9FB0QXTKF97kswfGtr4qP6hAAuf/rrJnUomDoXv4h5gT91JtAvWd32TxQzUwiYEFAPTsv5sPM5U/OYIsJINoIAdMd4hNFokw/kWAocVJO9NG051iJSJQ6SgWDguT0v+2pXC7j7mKdMCbKSq8APcZP29QEgLSbiAyTsD X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: q+W4zSYxSYejWHxf8gaSWy/JtNA9ItfSeiQtkEPM7ZMrg/1kkp26ogSoR3Zb5uXnqvH7QRNWFGdi//G1Rc/aOlRvWv65gqrsrJhPbFbXZRa0GkhxNrEbJTNxTLSv5X67azxdb01Kj8h3J6z+lW6rkA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1f1e942-4f0a-4345-8844-08d965170361 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2021 02:46:16.9383 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR06FT062.eop-eur06.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR06HT120 Received-SPF: pass client-ip=40.92.51.89; envelope-from=arthur.miller@live.com; helo=EUR06-DB8-obe.outbound.protection.outlook.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132679 Archived-At: "Samuel Banya" 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 :).