From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexandros Prekates Newsgroups: gmane.emacs.help Subject: Re: Is Default face a per frame attribute or a global one? Date: Tue, 26 Aug 2014 02:07:58 +0300 Message-ID: <53FBC1CE.7030602@openmailbox.org> References: <53FA7566.8080007@openmailbox.org> <87a96tnmgq.fsf@gmail.com> <53FB0AC8.5040505@openmailbox.org> <871ts4ojx2.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409008117 10727 80.91.229.3 (25 Aug 2014 23:08:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2014 23:08:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Alex Kost Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 26 01:08:31 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1XM3ND-0003sz-Ru for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Aug 2014 01:08:28 +0200 Original-Received: from localhost ([::1]:50772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XM3ND-00012s-5V for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2014 19:08:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XM3Mx-00011w-NS for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 19:08:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XM3Ms-0004tc-Tw for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 19:08:11 -0400 Original-Received: from mail.openmailbox.org ([212.129.10.237]:40801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XM3Ms-0004tY-KP for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 19:08:06 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.openmailbox.org (Postfix) with ESMTP id 471B62E02A8; Tue, 26 Aug 2014 01:08:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openmailbox.org; h=content-transfer-encoding:content-type:content-type :in-reply-to:references:subject:subject:mime-version:user-agent :from:from:date:date:message-id:received; s=openmailbox; t= 1409008083; bh=kg7Q0SML30s4S51ZpMJWE3whvMKE3VNHtztEhlJcX+o=; b=B 4n+OgWxKdT8bc4k1EO0UgyAPbT4MrqNTDvYOFA7iLt4TopnhHxhewAW6J35m37bF /m6auOVWFTwwHw4tDwJBsjg8mrMN/AxO3cgaY8wRJfjjCTFa7u/0ndfNJMgM06Cb 4fe4w5ZkNDK7UYX+J0qztKaQzyDbuGvgR7V2h18InU= X-Virus-Scanned: at openmailbox.org Original-Received: from mail.openmailbox.org ([212.129.10.237]) by localhost (mail.openmailbox.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AUv1VEw-XjVp; Tue, 26 Aug 2014 01:08:03 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <871ts4ojx2.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.129.10.237 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99402 Archived-At: On 25/08/2014 03:03 =CE=BC=CE=BC, Alex Kost wrote: > Alexandros Prekates (2014-08-25 14:07 +0400) wrote: > >> On 25/08/2014 08:54 =CF=80=CE=BC, Alex Kost wrote: >>> Alexandros Prekates (2014-08-25 03:29 +0400) wrote: >>> >>>> Continuing little experiments to better undestand the relation among >>>> fonts, faces, frames etc, i noticed >>>> that if i have 2 frames (A and B) and i evaluate from ielm in fram= e A >>>> (set-frame-font "liberation serif" nil nil) . when i check the defau= lt >>>> face's font i see different values in frame A from frame B. >>>> >>>> So it seems that default face is a frame's variable. >>>> >>>> i mean every frame has its own default face? Is that right? >>> As you can see after "C-h f set-frame-font": >>> >>> =E2=80=9C... >>> If FRAMES is nil, apply the font to the selected frame only. >>> ...=E2=80=9D >>> >>> So the second nil in your expression means you set a font only for th= e >>> current frame A. >>> >>> >> So default face is not a global emacs session variable. It's an >> attribute per frame. > I thought you were talking about frame fonts. AFAIU there is only one > =E2=80=98default=E2=80=99 face (defined in "faces.el"), if that's what = you mean. > But the assumption that there is only one global default face=20 contradicts with what i see. In two frames (of the same emacs session) M-x describe-face (default)=20 gives me different font families ( i changed in each frame the font with=20 set-frame-font.) Alexandros