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: saving buffer with text properties Date: Sun, 3 Jun 2007 09:20:27 -0700 Message-ID: References: <87lkf1qemb.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180887750 29544 80.91.229.12 (3 Jun 2007 16:22:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2007 16:22:30 +0000 (UTC) To: "Emacs-Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 03 18:22:29 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 1Husqb-0006a0-Bn for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 18:22:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Husqa-00043l-Qa for ged-emacs-devel@m.gmane.org; Sun, 03 Jun 2007 12:22:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Huspv-0001wd-Rv for emacs-devel@gnu.org; Sun, 03 Jun 2007 12:21:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Huspu-0001qc-8F for emacs-devel@gnu.org; Sun, 03 Jun 2007 12:21:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Huspt-0001pq-Sp for emacs-devel@gnu.org; Sun, 03 Jun 2007 12:21:45 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Huspt-0007uB-I7 for emacs-devel@gnu.org; Sun, 03 Jun 2007 12:21:45 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id l53GLiZl014854 for ; Sun, 3 Jun 2007 10:21:44 -0600 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l53GLgT6019862 for ; Sun, 3 Jun 2007 10:21:43 -0600 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-81-137.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 2753438631180887640; Sun, 03 Jun 2007 09:20:40 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <87lkf1qemb.fsf@stupidchicken.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: Linux 2.4-2.6 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:72118 Archived-At: > >> 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. But the per-file information about applied text properties needs to be saved with the file, no? The problem is not just re-applying properties; currently, they are not saved in any way AFAICT. Or did you mean that desktop would save a list of files and their text properties (including property values and locations)?