From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: Is Default face a per frame attribute or a global one? Date: Mon, 25 Aug 2014 09:54:13 +0400 Message-ID: <87a96tnmgq.fsf@gmail.com> References: <53FA7566.8080007@openmailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1408946089 25602 80.91.229.3 (25 Aug 2014 05:54:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2014 05:54:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Alexandros Prekates Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 25 07:54:42 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 1XLnEn-0001c3-I1 for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2014 07:54:41 +0200 Original-Received: from localhost ([::1]:46314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLnEl-00024g-6e for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2014 01:54:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLnET-00024U-Bu for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 01:54:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLnEK-0000Wl-CP for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 01:54:21 -0400 Original-Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:56221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLnEK-0000WT-4d for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 01:54:12 -0400 Original-Received: by mail-la0-f49.google.com with SMTP id hz20so11935505lab.8 for ; Sun, 24 Aug 2014 22:54:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=XcoXAVX61uigWyQJyOJYQRyRXuyXgcDFEpowSWV+GCg=; b=E2JGUzpvj4trMyn1m+FUEyla4ZD908dVKSf0l7KTHj2zDvtUbut3FbH0+KqoSMfXbn QAxJyENlQqQBV51nwrisST46ZTHf2ob51LfaDeDNbkbI/h3oQIc0I8DQAZtULIdV6eaR DwNSN9eqHBnEs2YTHnqpKECcQi99J5mZH9Du8hPFvO+n2qPGd9+Ol6ULxlNLK9CoXSar nP6U/DnVbq3HP2KoO89J0nhtks0M6Nuj/AWzm7SB4XgKcY/FETH+aStq7tkIUzy9+E1u BZxLQtDO8sP+mLAXiWk1/kXDEA5Y9EHLoJ4gLiNNQyjBboi8AX/aAR+KjlINYHiCQrN1 L2hQ== X-Received: by 10.152.207.36 with SMTP id lt4mr6165193lac.72.1408946050666; Sun, 24 Aug 2014 22:54:10 -0700 (PDT) Original-Received: from leviafan (128-70-193-103.broadband.corbina.ru. [128.70.193.103]) by mx.google.com with ESMTPSA id x5sm14927301lad.29.2014.08.24.22.54.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Aug 2014 22:54:10 -0700 (PDT) In-Reply-To: <53FA7566.8080007@openmailbox.org> (Alexandros Prekates's message of "Mon, 25 Aug 2014 02:29:42 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::231 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:99394 Archived-At: 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.