From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: saving buffer with text properties Date: Sun, 03 Jun 2007 10:47:24 -0400 Message-ID: <87lkf1qemb.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180882065 13071 80.91.229.12 (3 Jun 2007 14:47:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2007 14:47:45 +0000 (UTC) Cc: Emacs-Devel To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 03 16:47:44 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HurMo-0007z9-Sh for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 16:47:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HurMn-0007bO-Q0 for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 10:47:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HurMj-0007ax-NR for emacs-devel@gnu.org; Sun, 03 Jun 2007 10:47:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HurMi-0007aj-19 for emacs-devel@gnu.org; Sun, 03 Jun 2007 10:47:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HurMh-0007ag-SA for emacs-devel@gnu.org; Sun, 03 Jun 2007 10:47:31 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HurMh-0007Bp-Ix for emacs-devel@gnu.org; Sun, 03 Jun 2007 10:47:31 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 2DE314E50A; Sun, 3 Jun 2007 10:47:24 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Sun\, 3 Jun 2007 07\:15\:54 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72114 Archived-At: "Drew Adams" writes: >> Is there any plan to enable users to save text >> with all of its properties? >> >> "all" is a big word! I think the way to do this is to build hooks into the desktop.el system, so that external packages can specify a list of text properties to re-apply to each file when it is re-opened. This information would be saved in .emacs.d, and the cache can be cleared out for files that have not been re-opened for N days.