From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: set-default-font (was: bug#1066: 23.0.60; (tool-bar-mode -1) in ~/.emacs has no effect with --daemon) Date: Thu, 02 Oct 2008 21:04:27 -0400 Message-ID: References: <871vyykgqb.fsf@elegiac.orebokech.com> <200810021947.m92JlTsB018187@mothra.ics.uci.edu> <87ej2ydald.fsf@elegiac.orebokech.com> <200810022114.m92LEUGR018534@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222995905 31704 80.91.229.12 (3 Oct 2008 01:05:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2008 01:05:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 03 03:06:03 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KlZ6w-0004iA-Td for ged-emacs-devel@m.gmane.org; Fri, 03 Oct 2008 03:05:52 +0200 Original-Received: from localhost ([127.0.0.1]:54890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlZ5t-0002gZ-O8 for ged-emacs-devel@m.gmane.org; Thu, 02 Oct 2008 21:04:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlZ5q-0002gC-1U for emacs-devel@gnu.org; Thu, 02 Oct 2008 21:04:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlZ5p-0002fy-1z for emacs-devel@gnu.org; Thu, 02 Oct 2008 21:04:29 -0400 Original-Received: from [199.232.76.173] (port=39097 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlZ5o-0002fv-TP for emacs-devel@gnu.org; Thu, 02 Oct 2008 21:04:28 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:60847) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KlZ5o-0007vS-Lo for emacs-devel@gnu.org; Thu, 02 Oct 2008 21:04:28 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEAGQM5UjO+KVj/2dsb2JhbACBcbsagWiBBYIb X-IronPort-AV: E=Sophos;i="4.33,353,1220241600"; d="scan'208";a="27908404" Original-Received: from 206-248-165-99.dsl.teksavvy.com (HELO pastel.home) ([206.248.165.99]) by ironport2-out.teksavvy.com with ESMTP; 02 Oct 2008 21:04:27 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B65D263B57; Thu, 2 Oct 2008 21:04:27 -0400 (EDT) In-Reply-To: <200810022114.m92LEUGR018534@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 2 Oct 2008 14:14:31 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:104318 Archived-At: >> While I'm at it: the user who reported this bug to me also has the >> problem with `set-default-font', it seems to have no effect with >> --daemon. > Another thing: > set-default-font is an alias for `set-frame-font' in `frame.el'. > (set-default-font font-name &optional keep-size) > Set the font of the selected frame to font-name. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > when .emacs is run, the selected frame is not an X11 frame, so this > function does not seem to be the right one to use. Good you remind me. Could someone mark it obsolete, please? Stefan