From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Freezing frameset-restore Date: Fri, 07 Mar 2014 19:34:17 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1394238871 18282 80.91.229.3 (8 Mar 2014 00:34:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2014 00:34:31 +0000 (UTC) Cc: Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 08 01:34:39 2014 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 1WM5Do-0002Gc-Gq for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2014 01:34:36 +0100 Original-Received: from localhost ([::1]:38858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM5Do-0005H7-4P for ged-emacs-devel@m.gmane.org; Fri, 07 Mar 2014 19:34:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM5De-0005Ba-K3 for emacs-devel@gnu.org; Fri, 07 Mar 2014 19:34:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WM5DW-0006G5-DP for emacs-devel@gnu.org; Fri, 07 Mar 2014 19:34:26 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:14953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM5DW-0006Fu-9Y for emacs-devel@gnu.org; Fri, 07 Mar 2014 19:34:18 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhAKABK/CFFMCppy/2dsb2JhbABEvgwEA3sXc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IPAS-Result: AhAKABK/CFFMCppy/2dsb2JhbABEvgwEA3sXc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDiGGcGYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="50841479" Original-Received: from 76-10-154-114.dsl.teksavvy.com (HELO ceviche.home) ([76.10.154.114]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Mar 2014 19:34:17 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5E1B2660A5; Fri, 7 Mar 2014 19:34:17 -0500 (EST) In-Reply-To: (Juanma Barranquero's message of "Fri, 7 Mar 2014 22:34:45 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:170215 Archived-At: > i.e., we're offloading complexity from the occasional use of CLEANUP's > FUNC variant to the common case. Right. But we're simplifying the "interface". And we can provide a frameset-restore-cleanup function which does the default thing. Tho the main question is: how many callers are we talking about? So far I see 2 calls to this function in Emacs's trunk, so moving some complexity to the caller doesn't sound so terrible. Stefan