From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r113747: lisp/frameset.el: Convert `frameset' to vector and add new slots. Date: Thu, 8 Aug 2013 17:34:59 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1375976147 31746 80.91.229.3 (8 Aug 2013 15:35:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Aug 2013 15:35:47 +0000 (UTC) Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 08 17:35:50 2013 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 1V7SFh-0004Yc-7y for ged-emacs-devel@m.gmane.org; Thu, 08 Aug 2013 17:35:49 +0200 Original-Received: from localhost ([::1]:56542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7SFg-0007kQ-Dv for ged-emacs-devel@m.gmane.org; Thu, 08 Aug 2013 11:35:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7SFa-0007jb-Je for emacs-devel@gnu.org; Thu, 08 Aug 2013 11:35:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7SFZ-0000uq-5C for emacs-devel@gnu.org; Thu, 08 Aug 2013 11:35:42 -0400 Original-Received: from mail-ee0-x230.google.com ([2a00:1450:4013:c00::230]:53546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7SFY-0000ug-VE for emacs-devel@gnu.org; Thu, 08 Aug 2013 11:35:41 -0400 Original-Received: by mail-ee0-f48.google.com with SMTP id l10so1566882eei.21 for ; Thu, 08 Aug 2013 08:35:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6Ts94s5DRnvstKvWcTt808SSfi6deyRoLuvZacT9LlI=; b=PzipOGWQl/dpPMYdk70jEx8hRSeGN+66xJ4M7PZWxsVUDzTBHsKkARu91KYc+6YJFP fXqHcMJq4Fc/lrMQKttUm+N4ljmf11bMKpWUiVARPnnHqqxiq/2StTM+nxgqDzL8zjqd fUyo89yXCjbLzpCJ5Qf/F04OAuHX50u9sw1LtHZuVvLl3w2UD8kfDAlZ9dcwDrDC0CZe 8fP84mNuY5p2nnedAUCbRGtqeb2fS8Oqk3xCJl26WZPuXKj/lIC4nhGZ+nus9fFYXd+9 qfKePJCJhdKLt90PqAHngdPFrmJjr+WjgUzoc8r9I4JOOE+92eDTfrQfCFZoVENvv4+S 5l2w== X-Received: by 10.14.206.201 with SMTP id l49mr8647618eeo.99.1375976140139; Thu, 08 Aug 2013 08:35:40 -0700 (PDT) Original-Received: by 10.14.133.15 with HTTP; Thu, 8 Aug 2013 08:34:59 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::230 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:162513 Archived-At: On Thu, Aug 8, 2013 at 4:40 PM, Stefan Monnier wrote: > BTW, I don't see anything in frameset-save which guarantees that it > returns a valid frameset. If you mean that app, name, description and properties are not checked, er... good catch ;-) (states, version and timestamp cannot be wrong unless something fails catastrophically). > I don't think there's a way to do that. Why do you need it? frameset-p, frameset-save and frameset-restore are the functions more likely to be used from outside packages; it's good to have them autoloaded to avoid require'ing unnecessarily. Currently: emacs -Q M-: (set-register ?a '(file . "~/.emacs")) C-x r j a => Symbol's function definition is void: frameset-p so I'll have to add a (require 'frameset), which is a pity. J