From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: zsh outside of Emacs (was: Why do we need a number of different terminal modes in Emacs?) Date: Tue, 03 Feb 2015 00:42:42 +0000 Message-ID: <87iofjesfx.fsf@robertthorpeconsulting.com> References: <2015-02-02T16-41-55@devnull.Karl-Voit.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422924183 30841 80.91.229.3 (3 Feb 2015 00:43:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2015 00:43:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Karl Voit Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 01:43:02 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 1YIRa1-0000nD-OO for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Feb 2015 01:43:01 +0100 Original-Received: from localhost ([::1]:57256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIRa0-0002mJ-SJ for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Feb 2015 19:43:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIRZq-0002mD-V7 for help-gnu-emacs@gnu.org; Mon, 02 Feb 2015 19:42:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIRZk-0007YD-Gj for help-gnu-emacs@gnu.org; Mon, 02 Feb 2015 19:42:50 -0500 Original-Received: from outbound-smtp03.blacknight.com ([81.17.249.16]:59641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIRZk-0007Y9-B6 for help-gnu-emacs@gnu.org; Mon, 02 Feb 2015 19:42:44 -0500 Original-Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp03.blacknight.com (Postfix) with ESMTPS id 25104986C9 for ; Tue, 3 Feb 2015 00:42:43 +0000 (UTC) Original-Received: (qmail 9908 invoked from network); 3 Feb 2015 00:42:43 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.76.240.199]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 3 Feb 2015 00:42:42 -0000 In-Reply-To: <2015-02-02T16-41-55@devnull.Karl-Voit.at> (message from Karl Voit on Mon, 2 Feb 2015 16:55:03 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.16 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:102452 Archived-At: Karl Voit writes: ... > However, this confirms my habit of using a Terminal emulator, with > GNU/screen[1], together with a great set-up of zsh[2]. You can use GNU Screen and Zsh and connect to them using M-x term. That puts them within Emacs, but Screen should make things safe from Emac's crashes. As I was saying in another thread, there's a bit about doing it with Screen here http://www.emacswiki.org/emacs/GnuScreen , there are couple of gotchas and things you have to setup in Screen's rc file. > 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. Have you bisected your init file? Even for an intermittant bug that can help a lot. Let's say you cut out half of your init file and work with Emacs for a few hours. If the problem doesn't happen you can be pretty sure it's in the cut out bit. If it does happen you can be sure it's in the bit left. If you're getting crashes about four times a day then you can make a bisect decision every couple of hours. So you should be able to identify the 1/8th or 1/16th of you init file that's to blame :). BR, Rob