From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Voit Newsgroups: gmane.emacs.help Subject: zsh outside of Emacs (was: Why do we need a number of different terminal modes in Emacs?) Date: Mon, 2 Feb 2015 16:55:03 +0100 Organization: www.karl-voit.at Message-ID: <2015-02-02T16-41-55@devnull.Karl-Voit.at> References: <87egq9sqgo.fsf@robertthorpeconsulting.com> Reply-To: Karl Voit NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422892552 23640 80.91.229.3 (2 Feb 2015 15:55:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2015 15:55:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 16:55:52 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YIJLr-0007dl-5R for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Feb 2015 16:55:51 +0100 Original-Received: from localhost ([::1]:55236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIJLq-00011n-IB for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Feb 2015 10:55:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIJLU-00010o-Sc for help-gnu-emacs@gnu.org; Mon, 02 Feb 2015 10:55:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIJLQ-0004cO-GJ for help-gnu-emacs@gnu.org; Mon, 02 Feb 2015 10:55:28 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:58770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIJLQ-0004bD-9H for help-gnu-emacs@gnu.org; Mon, 02 Feb 2015 10:55:24 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YIJLM-0007Ga-IE for help-gnu-emacs@gnu.org; Mon, 02 Feb 2015 16:55:20 +0100 Original-Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Feb 2015 16:55:20 +0100 Original-Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Feb 2015 16:55:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: friends.grml.info X-GPG-Key: http://www.Karl-Voit.at/Karl_Voit_GnuPG_public_key.gpg X-Registered-Linux-User: 224337 X-Confession: Pastafarian http://www.venganza.org/ User-Agent: slrn/pre1.0.0-18 (Linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102446 Archived-At: * Robert Thorpe wrote: > > I'll explain the trickiness. Shell-mode works in an Emacs-like manner. > It hooks to an external shell, such as bash, ksh or tcsh. It transfers > *lines* to the shell. It has to work this way, since the line is edited by > Emacs editing commands. [...] Thank you very much for your detailed explanation! However, this confirms my habit of using a Terminal emulator, with GNU/screen[1], together with a great set-up of zsh[2]. Unfortunately, my GNU/Emacs tends to be very unstable[3] so that I have to kill and re-start it several times a day. I handle this by having a very tight auto-save-interval. Losing all of my open shell sessions would be a disaster. Sure, I have to copy&paste a lot between zsh and Emacs. However, Org-mode/babel helps for very simple things as well. Additionally, I need to sync Org-mode files, detach GNU/screen sessions, log off the computer, put it into sleep mode, switch computer, re-start GNU/Emacs session with synced Org-mode files, and return to the other computer later on. Therefore, my GNU/screen sessions run for much longer than my GNU/Emacs sessions. I could not find good enough reasons to move my shell into GNU/Emacs - even though I do basically everything inside Org-mode. Quite recently, I stumbled over org-screen/ob-screen but it didn't gave me enough advantages. [1] Found no time or urgent reason to switch to tmux yet [2] http://grml.org/zsh/ [3] Different story, hard to fix by myself and hard to imitate for peers. I did not find an Emacs guru willing to spend time with me infront of my keyboard. -- All in all, one of the most disturbing things today is the definitive fact that the NSA, GCHQ, and many more government organizations are massively terrorizing the freedom of us and the next generations. http://Karl-Voit.at