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 16:03:53 +0400 Message-ID: <871ts4ojx2.fsf@gmail.com> References: <53FA7566.8080007@openmailbox.org> <87a96tnmgq.fsf@gmail.com> <53FB0AC8.5040505@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 1408968279 27679 80.91.229.3 (25 Aug 2014 12:04:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2014 12:04:39 +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 14:04:32 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 1XLt0h-0006cn-TK for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2014 14:04:32 +0200 Original-Received: from localhost ([::1]:47740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLt0h-00043X-6Q for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Aug 2014 08:04:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLt0N-00042X-6j for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 08:04:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLt0B-0001nq-8U for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 08:04:11 -0400 Original-Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:39516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLt0B-0001nc-0c for help-gnu-emacs@gnu.org; Mon, 25 Aug 2014 08:03:59 -0400 Original-Received: by mail-lb0-f172.google.com with SMTP id z11so12245862lbi.3 for ; Mon, 25 Aug 2014 05:03:54 -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=c0+Ux4/tv14JPdFLKNrdWfbHs2Sy4gXLdw3TwO+zT+Q=; b=dfgUa4FpHOi4jJN30dYw6umXIhuv/RuePpSKHwn3iUz35PB2a5nKVvOeQxbM7//BwN iDf/2xH+fro4/crNTQgnGdJiiKMaCRrPl4TxQ3ArgiGBRgfIUzCC3Mmq0kdwQpTqV6Xh mpZuXS6YtO/46hFGCfDL0Ra2vGwij1YyLNCC9K6vz2MVoixB3v6FfEMrh438vngJkbjo aTEo6qIlyNpeOjskcGt+pdsMlEtg2FRdbCYjiRzlSAHtrtq7U7z5Lm4FIEyj8ag3GPrw L9r9v/bxMIm+L27FoTTVlWCGQew0XnnyTja3vG72vNbvuxcigQ9MXBAOHLDsezjg082o slQg== X-Received: by 10.153.6.39 with SMTP id cr7mr8636684lad.66.1408968234756; Mon, 25 Aug 2014 05:03:54 -0700 (PDT) Original-Received: from leviafan (128-70-193-103.broadband.corbina.ru. [128.70.193.103]) by mx.google.com with ESMTPSA id y8sm8786769lad.30.2014.08.25.05.03.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Aug 2014 05:03:53 -0700 (PDT) In-Reply-To: <53FB0AC8.5040505@openmailbox.org> (Alexandros Prekates's message of "Mon, 25 Aug 2014 13:07:04 +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:c04::22c 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:99400 Archived-At: 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 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 > 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.