From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: Outdate session.el? Date: Mon, 24 Mar 2008 02:00:14 +0100 Organization: GNU's Not UNIX! Message-ID: <200803240100.m2O10EMR027275@localhost.localdomain> References: <347fece5-be55-4bdd-9d70-4ba39d1004d9@13g2000hsb.googlegroups.com> <200803190100.m2J10JZA032332@localhost.localdomain> <57FED480-F14B-4207-82F3-6B6E61236E26@Web.DE> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1206322729 19816 80.91.229.12 (24 Mar 2008 01:38:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2008 01:38:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, per.nordlow@gmail.com To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 24 02:39:19 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jdbeg-00007I-AE for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Mar 2008 02:39:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jdbe5-0001Un-Ax for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Mar 2008 21:38:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jdbd6-0000p5-BQ for help-gnu-emacs@gnu.org; Sun, 23 Mar 2008 21:37:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jdbd5-0000nf-Hn for help-gnu-emacs@gnu.org; Sun, 23 Mar 2008 21:37:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jdbd4-0000mz-Ou for help-gnu-emacs@gnu.org; Sun, 23 Mar 2008 21:37:38 -0400 Original-Received: from master.uucpssh.org ([193.218.105.66]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jdbd4-0007Lz-2Q for help-gnu-emacs@gnu.org; Sun, 23 Mar 2008 21:37:38 -0400 Original-Received: by master.uucpssh.org (Postfix, from userid 10) id 60460D69EA; Mon, 24 Mar 2008 02:36:06 +0100 (CET) Original-Received: from localhost.localdomain (IDENT:1000@localhost [127.0.0.1]) by localhost.localdomain (8.14.1/8.13.8) with ESMTP id m2O10KZc027410; Mon, 24 Mar 2008 02:00:21 +0100 Original-Received: (from xma@localhost) by localhost.localdomain (8.14.1/8.13.8/Submit) id m2O10EMR027275; Mon, 24 Mar 2008 02:00:14 +0100 In-reply-to: <57FED480-F14B-4207-82F3-6B6E61236E26@Web.DE> (message from Peter Dyballa on Fri, 21 Mar 2008 00:12:58 +0100) User-Agent: Rmail in GNU Emacs 23.0.60.3 on GNU/Linux Jabber-ID: xma01@jabber.fr X-uucpssh: Found to be clean X-uucpssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.382, required 4.6, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.02, BAYES_00 -2.60, SPF_HELO_PASS -0.00) X-uucpssh-From: xma@gnu.org X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52658 Archived-At: > What feature(s) need to be added to desktop.el ? It's very nice that the node in *info* buffer is kept! I can continue reading weeks later ... Indeed, it must be really cool. Here I only use desktop.el with this setup: (require 'recentf) (setq desktop-dirname (expand-file-name "~/") desktop-save t desktop-globals-to-save '((extended-command-history . 50) (file-name-history . 50) (grep-history . 50) (minibuffer-history . 50) (query-replace-history . 50) (read-expression-history . 50) (regexp-history . 50) (search-ring . 50) (shell-command-history . 50)) recentf-max-saved-items 50) (add-to-list 'desktop-modes-not-to-save 'rmail-mode) (add-to-list 'desktop-modes-not-to-save 'Info-mode) and it does almost all I need (or I feel it does :)). When starting with a new and fresh emacs session, I am back with all my buffers/files/whatever. Also note that I explicitly ask desktop not to save the Info-mode buffers (but I can't remember why I asked for this :)). If I remove the Info-mode from the not to save list, I get my info-mode nodes back when (re)starting my emacs. So, session.el won't help here. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org