From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Initial frame faces Date: Fri, 24 Jan 2014 09:53:20 +0200 Message-ID: <83iot9eryn.fsf@gnu.org> References: <52E201ED.1080108@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1390549997 27477 80.91.229.3 (24 Jan 2014 07:53:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jan 2014 07:53:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 24 08:53:21 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 1W6bZp-00020f-2y for ged-emacs-devel@m.gmane.org; Fri, 24 Jan 2014 08:53:21 +0100 Original-Received: from localhost ([::1]:44958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6bZo-0001bZ-Q1 for ged-emacs-devel@m.gmane.org; Fri, 24 Jan 2014 02:53:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6bZd-0001Ps-U3 for emacs-devel@gnu.org; Fri, 24 Jan 2014 02:53:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6bZX-00050w-QJ for emacs-devel@gnu.org; Fri, 24 Jan 2014 02:53:09 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:52335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6bZX-00050U-It for emacs-devel@gnu.org; Fri, 24 Jan 2014 02:53:03 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MZW00800AX4JE00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 24 Jan 2014 09:53:01 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZW008PVB8DE470@a-mtaout21.012.net.il>; Fri, 24 Jan 2014 09:53:01 +0200 (IST) In-reply-to: <52E201ED.1080108@yandex.ru> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:168997 Archived-At: > Date: Fri, 24 Jan 2014 10:02:21 +0400 > From: Dmitry Antipov > > Do we really need faces on an initial frame? IIUC this frame has nothing > to display and so face information is useless. Moreover, when the first > 'real' (TTY or window system) frame is created, initial frame is deleted > but free_face_cache is never called for it, thus creating memory leak: I don't think the initial frame is deleted in TTY sessions. If I set a breakpoint in delete_frame and run "emacs -Q -nw" under a debugger, the breakpoint is never hit. Am I missing something?