From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: emacs save/restore state? Date: Wed, 16 May 2012 06:24:10 -0700 Message-ID: References: <87vckza6z9.fsf@nzebook.haselwarter.org><24E6E440EE274805816259B172420E37@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1337174699 3593 80.91.229.3 (16 May 2012 13:24:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 May 2012 13:24:59 +0000 (UTC) Cc: emacs-devel@gnu.org, 'Philipp Haselwarter' To: "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 16 15:24:58 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SUeDl-0003tb-AL for ged-emacs-devel@m.gmane.org; Wed, 16 May 2012 15:24:53 +0200 Original-Received: from localhost ([::1]:60479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUeDk-0007XP-K8 for ged-emacs-devel@m.gmane.org; Wed, 16 May 2012 09:24:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUeDS-0006bW-5F for emacs-devel@gnu.org; Wed, 16 May 2012 09:24:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUeDH-0000a3-9o for emacs-devel@gnu.org; Wed, 16 May 2012 09:24:33 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:35868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUeDH-0000Y8-3h for emacs-devel@gnu.org; Wed, 16 May 2012 09:24:23 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q4GDOI4f001150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 May 2012 13:24:19 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q4GDOItJ027127 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 May 2012 13:24:18 GMT Original-Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q4GDOHqj020080; Wed, 16 May 2012 08:24:17 -0500 Original-Received: from dradamslap1 (/10.159.161.179) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 16 May 2012 06:24:17 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac0zC+X/MC/aGSuBTRKPqPlBZ4/yQAAWbEkA In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150518 Archived-At: > >> This said, the redundancy between the two is a bit annoying, > >> tho I'm not sure how to get rid of it. > > FYI, this was discussed in a fair amount of length on emacs-devel: > > http://lists.gnu.org/archive/html/emacs-devel/2007-12/msg00583.html > The problem was discussed, but not the (potential) solution. True. This wishlist occurs to me, to keep in mind when looking for a solution: 1. Factoring out some code commonality would be good (modulo other wishes). 2. Users should be able to save histories without necessarily saving all the other desktop stuff. 3. Users should be able to save other desktop stuff without necessarily saving histories. 4. Users can save multiple desktops, which should be able to have different saved histories. IOW, a given history variable, e.g., `file-name-history', could have a different saved value in different desktops.