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: Mon, 25 Aug 2014 13:07:04 +0300 Message-ID: <53FB0AC8.5040505@openmailbox.org> References: <53FA7566.8080007@openmailbox.org> <87a96tnmgq.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 1408961259 6615 80.91.229.3 (25 Aug 2014 10:07:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2014 10:07:39 +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 Mon Aug 25 12:07:34 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 1XLrBV-0003cU-Jh for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2014 12:07:33 +0200 Original-Received: from localhost ([::1]:47137 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLrBU-0004of-Km for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2014 06:07:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLrBE-0004oL-TV for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 06:07:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLrBA-0000i5-3W for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 06:07:16 -0400 Original-Received: from mail.openmailbox.org ([212.129.10.237]:55779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLrB9-0000hs-QS for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 06:07:12 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.openmailbox.org (Postfix) with ESMTP id E6B7B2E0225; Mon, 25 Aug 2014 12:07:10 +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= 1408961229; bh=zECVFoQHgUpIxJ7g16znpozNvimez8V1wGiVBcvT/SE=; b=S q4SgW5C1f4lNnenwYCUhsxbd5i1ru9aaVBqBWOmSjc8FmzoYy5UenqQTVWN+jb19 E0WE3d9PE4ULppfIxvKrd9SdMFlFCreMc4J9V/ziaSBPntdclwkLswSa2UvbcAAI /Y6LdZGxhz4MDz3NSVA0dSfz3R6C4FJrSPUWGOSbeE= 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 LADERs59QJk7; Mon, 25 Aug 2014 12:07:09 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <87a96tnmgq.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:99398 Archived-At: 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 frame = A >> (set-frame-font "liberation serif" nil nil) . when i check the default >> 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 the > current frame A. > > So default face is not a global emacs session variable. It's an=20 attribute per frame.