From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kevin Layer Newsgroups: gmane.emacs.devel Subject: comint shell buffers autosaved to a file? Date: Tue, 27 Mar 2018 15:00:22 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045c55ec629fde05686c0412" X-Trace: blaine.gmane.org 1522187911 29139 195.159.176.226 (27 Mar 2018 21:58:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Mar 2018 21:58:31 +0000 (UTC) To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 27 23:58:27 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0wbo-0007PR-Hf for ged-emacs-devel@m.gmane.org; Tue, 27 Mar 2018 23:58:24 +0200 Original-Received: from localhost ([::1]:36311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0wds-0000cy-4E for ged-emacs-devel@m.gmane.org; Tue, 27 Mar 2018 18:00:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0wdm-0000cp-9B for Emacs-devel@gnu.org; Tue, 27 Mar 2018 18:00:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0wdl-0000PZ-9F for Emacs-devel@gnu.org; Tue, 27 Mar 2018 18:00:26 -0400 Original-Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:36057) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0wdl-0000P0-1T for Emacs-devel@gnu.org; Tue, 27 Mar 2018 18:00:25 -0400 Original-Received: by mail-wm0-x22d.google.com with SMTP id x82so1549728wmg.1 for ; Tue, 27 Mar 2018 15:00:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=known.net; s=google; h=mime-version:from:date:message-id:subject:to; bh=wOg9/ESZhKLjBjku02HzWVZFmmJ7LrgZWcRgJg9GcWI=; b=lcnx3EauoSOyE/C47onzZzqxmnZlJ9KdTzfcgB/LfUhYmh5qLWqq70KrXQB6tqAax8 N2dNHMpIjrn3eD5IfWIAJWCSig0FeX+0WRtNtFcWn+NRAie/3k08tioQOMYWMEuQ+zIq 11aoNhKxK3a14KZOksWKUeQi3cPvRzjn2QyRU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wOg9/ESZhKLjBjku02HzWVZFmmJ7LrgZWcRgJg9GcWI=; b=A47CUCUO+7bKkJZSPC8ENd4bHO+dJvBlHUO2oykBdz9z25Sl3MP61NBrXHNmga38uX /epIN5eoM9CB0AnrBEIrk8Gl0X8spphl3rvV7I6QriAwn40xX2FUsleIE1Tr5S6Ws188 6P0y8VPsnVuTWsUQgFf/KQmKfMexVd1SWB/Lb4SWYP6exW9JbBlUXPVsaGU1lgRB8FaW U45xMJYLPeNuiVAPxlFXE9lzj3N0slOK+sondJWum5Ts/WzgYiRGIJe9vmK3Y9WdBYrf fxjcOraWvSTuZCBWkmpPDNtbkK3TsiuUE/FLC82HxstpFnuOg/bzr7Rdtq4iAc0y9IKY McmA== X-Gm-Message-State: AElRT7FhMwWIA1vrrtQtxCT/3R8M4fobqsVtH2KeFMX+nN9TnT90bGBN ig2Nv/YuPJceEMCuilePDWw2pA0lJQDyu7RuvrBJf28G X-Google-Smtp-Source: AIpwx4/takg8D71/ZVUAmQ3mB6Lwxt1n9fErHFvaclPWQIHo0qYcINuHSpfVfXKrcQLvEnMjemi1v1eO3tZUXEgMi9s= X-Received: by 10.80.144.195 with SMTP id d3mr869295eda.54.1522188022875; Tue, 27 Mar 2018 15:00:22 -0700 (PDT) Original-Received: by 10.80.173.137 with HTTP; Tue, 27 Mar 2018 15:00:22 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224112 Archived-At: --f403045c55ec629fde05686c0412 Content-Type: text/plain; charset="UTF-8" I had a long running shell session in an emacs and the emacs crashed. I was running some complex bash scripts that had failed, but I was going to look at it today. But today the emacs crashed before I did. I'd like to guard against this in the future by having the contents of my shells saved automatically into a file in ~/.emacs.d/, perhaps. I've googled and looked through the comint source and I don't see this feature. Any ideas on this? I'm willing to do some work to add it, if it's not too hard. Kevin --f403045c55ec629fde05686c0412 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I had a long running shell session in an emacs and the ema= cs crashed.=C2=A0 I was running some complex bash scripts that had failed, = but I was going to look at it today.=C2=A0 But today the emacs crashed befo= re I did.=C2=A0 I'd like to guard against this in the future by having = the contents of my shells saved automatically into a file in ~/.emacs.d/, p= erhaps.

I've googled and looked through the comint s= ource and I don't see this feature.

Any ideas = on this?=C2=A0 I'm willing to do some work to add it, if it's not t= oo hard.

Kevin
--f403045c55ec629fde05686c0412--