From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78207 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Application resource storage Date: Tue, 29 Mar 2011 22:14:11 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87d3ln9b7y.fsf@stupidchicken.com> <87aagqsh4e.fsf@lifelogs.com> <87y63xem1c.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301429698 10444 80.91.229.12 (29 Mar 2011 20:14:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 20:14:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M26518@lists.math.uh.edu Tue Mar 29 22:14:53 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4fJV-0000nE-0m for ding-account@gmane.org; Tue, 29 Mar 2011 22:14:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Q4fJE-0005Pv-Bu; Tue, 29 Mar 2011 15:14:36 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Q4fJC-0005Pi-C3 for ding@lists.math.uh.edu; Tue, 29 Mar 2011 15:14:34 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q4fJ3-0002B1-51 for ding@lists.math.uh.edu; Tue, 29 Mar 2011 15:14:29 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Q4fJ2-0002SS-DJ for ding@gnus.org; Tue, 29 Mar 2011 22:14:24 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q4fJ1-0000YV-KH for ding@gnus.org; Tue, 29 Mar 2011 22:14:23 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2011 22:14:23 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2011 22:14:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUuLTAeHSAPDxE/PEFt aW6UkJQYFxlST1QO6LmwAAACAUlEQVQ4jb1Ty2ocMRCsQeC9SmzYD8gXKLQSfYB7mWsgEr56COi8 QTL9+ynJr0PwIRf3gBh19UOqLuHrB4b/AFoLwd+htXYJr9ZeLVzQPrBPAWr9+b77LWLi5CQ/Gsy+ vQMHNiBEj7uGuP1TxcWZ8RnH/RAQeICrSOYNsgyzDheBGOHc9ItFAkPNGMNIB7jMgBxzF+lGy5JM WGZm0JUHo5NaZ0ayPOvLDOvDZpndepe822CNla9DX2y3PPdgQ4bqeMEKv33o2NHzzDe15b6W57Sq oGO69rnUUut0X2stUNNVQWu9Vi3lWheiYCShKx31qsyoZSUsQNc/d3Mtda2K514rUJ/xZS8AD8nI UvUNKHi9l7IF/W8Q53G0QDJDcC6eER0i/2XD0absKaeITP54WRLruFDxl8MHxkJcl0khuT51pt0x 6TgOn7Pk3Mc9NdhdovBCwOMR2uPJXGIxMlS6OAQiHmdccJyt32znLDTGjLA9er9BNn/x7EmeSTRn h+D90sm0zfaeOCUZPUG/bQe7uLNEF/xtDMunLHbi+6i/qHye1rPf1Ifle7iORcyJz0I2h5tj69Gp sIQv8TshWU8pbi5pT5x0MjxNjmsxyf2GGzznU0bdbZbS/lQLm+7yx4cpGtOeMWfzwLRdJ30SkK0/ DMpn7zxkSuNGhV/aNgnd+AjzX+hhQ09NCquwAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Stephan Mathieu + Taylor Deupree's _Transcriptions_: "White Heaven" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Risuc/tIwq6Pxq9bmL40S8jjMII= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78207 gmane.emacs.devel:137868 Archived-At: Ted Zlatanov writes: > I think you're describing an assistant.el walkthrough. Right now the > assistants store their return in an artificial data structure but the > walkthrough with the user decisions and answers could *be* the data > structure (it's a decision tree, right?) Yes, that would be a use case. There are other things that this could be used for that I've been missing -- for instance, now when nnimap connects to a server, it tries both the imap and the imaps port. If nnimap could stash what the successful port was, and try that first the next time, the next startup would be slightly faster. Not particularly essential, but there's a lot of stuff like that that could be done trivially if there was a place to stash this data... > As a global Emacs facility it would be easy to make all these strings > part of a big global-registry alist, which can then be customized and > saved independently. But I think it would squash the decision tree from > assistant.el into unwieldy string representations of the nodes and edges. True. But it's basically what Firefox does with its data, if you look under about:config. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen