From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: auto save for shell buffers Date: Wed, 24 Jan 2018 09:19:11 +0100 Message-ID: <87a7x3sm80.fsf@gmail.com> References: <9AEC0F8C-556D-48F3-9097-6AA16D0C55D7@icloud.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1516781875 32727 195.159.176.226 (24 Jan 2018 08:17:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 Jan 2018 08:17:55 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Perry Smith Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 24 09:17:50 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 1eeGFM-0006sk-SU for ged-emacs-devel@m.gmane.org; Wed, 24 Jan 2018 09:17:29 +0100 Original-Received: from localhost ([::1]:33188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeGHK-00073Z-TO for ged-emacs-devel@m.gmane.org; Wed, 24 Jan 2018 03:19:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeGHA-000732-78 for emacs-devel@gnu.org; Wed, 24 Jan 2018 03:19:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeGH5-00054V-8a for emacs-devel@gnu.org; Wed, 24 Jan 2018 03:19:20 -0500 Original-Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:45269) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eeGH5-00053q-2Q for emacs-devel@gnu.org; Wed, 24 Jan 2018 03:19:15 -0500 Original-Received: by mail-wm0-x22d.google.com with SMTP id i186so6654802wmi.4 for ; Wed, 24 Jan 2018 00:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version; bh=ttu/AQ+2Sr+cMR39hvoospRXVYfK/NP3X6BgEmCURB4=; b=CunAPr2VxXx+NkkONlGMNEQxaVcgIdKcaKWrS8T0gRdQirLIbMu/jaAENxjOT+fINJ +g4vJ0YwkCTqq7YnHSrT0dXIw0pynnjhSstEBg5D2L2IhO4zst7uX8P/nPuKT9+R1SBN YClIh/IdYI+MsQNmIZvpK5aKPLZwvDpp/5E4FabYm9zZSysjng7V1VbpbnMcOUXrYIo6 biBizqmcztf8MDIvcdwpulPRmJM+X5QJBtNDOiQRY6SBg1bDyPhiM2pVpSvzwnUAQnp6 fJKC3wqdZ7R7dEl5ZN7fsR8THpHYrIAWjJzvRYtsh8K1p043vndnAwIfygMgzhUbkcXb Rpww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version; bh=ttu/AQ+2Sr+cMR39hvoospRXVYfK/NP3X6BgEmCURB4=; b=PuI0dHAZZQvVSIrrZvb+5dji5imrNeSDLtRowuKGR0jnoQxwNxzZ/U9bYIakQbKaJ/ KPQn+BqRPSZJuXanIDxAtxZmKKQqn/30mZJZQEGRR8aQfujRdTILWiKvnvv1i4RB/63T 1Bj1MWGIxHL2/NXGRCxYWTGXobbTX9yZ+tb9ZqzJAHFvk7PPgkxDku3d3cxyJojaKaEZ H/ORpAiymTvabNYEebom7jKI5OMrnrQdaWfMURRmEZy5vFMbZKkH6OIajUyBbUNxxcyk 37JJoGNLCmMcWI7S2+fF1gWbVO0P7mH6DRmMdzlZBiePLGXSxgUxeNeZp8b/u72NBuz0 H9eg== X-Gm-Message-State: AKwxytf8IoNXuITEfbuAcnNOiJgPNw6LojPk2eQTKNLmeeizbjL/DbLY 806YVdx9zj3lp2ZwfiodD+B0wnCq X-Google-Smtp-Source: AH8x226k0K/5zVvDTs2fqsR5mcu7ON12/bQoSlV6s5FnvboMIZzvmxbUuNkfODXmyzrUhChhvOai0g== X-Received: by 10.80.186.5 with SMTP id g5mr22994832edc.12.1516781953476; Wed, 24 Jan 2018 00:19:13 -0800 (PST) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id p32sm14485598eda.69.2018.01.24.00.19.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Jan 2018 00:19:12 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <9AEC0F8C-556D-48F3-9097-6AA16D0C55D7@icloud.com> (Perry Smith's message of "Tue, 23 Jan 2018 13:01:36 -0600") 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:222179 Archived-At: Perry Smith writes: > How can I set things up so the buffer being used to run an inferior shell will be autosaved periodically to a file? > > The file to save in could be named "shell-2018-01-22". > > I thought this would be trivial but it seems the autosave concept is > deeply tied into the visiting file concepts which of course, doesn't > apply for the buffer being used by the inferior shell. > I'm not sure why you think that. You can save the shell buffer to a file, and it will be autosaved. Note that the shell buffer doesn't have to be called "*shell*" Robert