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: Default face - font questions. Date: Thu, 14 Aug 2014 04:01:33 +0300 Message-ID: <53EC0A6D.6030404@openmailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1407978127 3646 80.91.229.3 (14 Aug 2014 01:02:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2014 01:02:07 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 03:02:02 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 1XHjQX-0002Od-IK for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2014 03:02:01 +0200 Original-Received: from localhost ([::1]:51343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHjQX-0008Cr-5x for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Aug 2014 21:02:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHjQH-0008Ck-Ae for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 21:01:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHjQC-0000Ar-Nh for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 21:01:45 -0400 Original-Received: from mail.openmailbox.org ([212.129.10.237]:33038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHjQC-0000AV-C1 for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 21:01:40 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.openmailbox.org (Postfix) with ESMTP id 778652E01C5 for ; Thu, 14 Aug 2014 03:01:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openmailbox.org; h=content-type:content-type:subject:subject:mime-version :user-agent:from:from:date:date:message-id:received; s= openmailbox; t=1407978096; bh=NR0a2JefUolz/wX3AUDrL0oV7KJL8nOgW6 s6iuSk3a4=; b=Sm1XxHPUGPRqQGdsnXqYU//tkdkPH+tLubWwg72fb0MfUsZiOR jO+GF9fGRVQR8Oiu1WChMIciY69Pa0+LaQJTBTkFEtSeoyODMXbqhb0Y4hPICqA7 Ts/zKNXePqO7NLgwFDiEFlDUHPnVNz12M1VZPXz7tnRaSGz9dD8g4vRIU= 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 Vu61nxAjFaVQ for ; Thu, 14 Aug 2014 03:01:36 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.129.10.237 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:99204 Archived-At: In emacswiki (1) i read: To change the default font for new (non special-display) frames, put either of these in your init file : |(add-to-list 'default-frame-alist '(font . | /|FONT|/ |))| |(set-face-attribute 'default t :font | /|FONT|/ |))| To change the default font for the current frame, as well as future frames, put either of these in your init file: |(set-face-attribute 'default nil :font | /|FONT|/ |))| |(set-frame-font | /|FONT|/ |nil t)| | I understand how when we are in the middle of an emacs session it'd help to have an option to change the font only of the future-new frames. | |But i dont understand the difference of using the 't', or 'nil' option in an .init file when starting a new emacs session . Doesnt it hold than in that case all frames are newone making 't' superfluous in .init file? | |aprekates | (1) http://www.emacswiki.org/emacs/SetFonts