From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: davemilter Newsgroups: gmane.emacs.help Subject: Re: emacs fontset no window Date: Sun, 11 Oct 2009 14:08:18 -0700 (PDT) Organization: http://groups.google.com Message-ID: <83f01d27-7b17-4fbc-a9ce-0efbd296a79f@a32g2000yqm.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1255297318 5926 80.91.229.12 (11 Oct 2009 21:41:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Oct 2009 21:41:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 11 23:41:48 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mx6Aj-0004R7-Pn for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Oct 2009 23:41:46 +0200 Original-Received: from localhost ([127.0.0.1]:38804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx6Aj-0008NI-CU for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Oct 2009 17:41:45 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!a32g2000yqm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: 79.134.91.137 Original-X-Trace: posting.google.com 1255295298 20314 127.0.0.1 (11 Oct 2009 21:08:18 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 11 Oct 2009 21:08:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a32g2000yqm.googlegroups.com; posting-host=79.134.91.137; posting-account=Wsd1ywoAAAAX8UQ4jIXO12RybKA_aIwv User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (X11; Linux i686; U; ru) Presto/2.2.15 Version/10.00,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:173767 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68851 Archived-At: On Oct 12, 12:45=A0am, Juanma Barranquero wrote: > On Sun, Oct 11, 2009 at 21:52, davemilter wrote: > > I suppose that set-fontset-font should not be executed in > > "emacs -nw", but exatcly that lines: > > =A0(set-fontset-font (frame-parameter nil 'font) > > =A0'han '("Vera Sans YuanTi" . "unicode-bmp")) > > > =A0cause problem during startup in "emacs -nw" mode, > > What kind of problem? Could you be more explicit? > > =A0 =A0 Juanma Actually at begin I have one problem, when I run emacs -nw it tells: error "Fontset `tty' does not exist" emacs -nw --debug-init tells: Debugger entered--Lisp error: (error "Fontset `tty' does not exist") set-fontset-font("tty" han ("Vera Sans YuanTi" . "unicode-bmp")) I thought that this is easy problem, of course in terminal there is no font which use X Window system, so I wrote (if (eq window-system 'x) to tell emacs call it only if run emacs in X Window mode, and at now I have two problems: - emacs -nw not read all init file, because of: error "Fontset `tty' does not exist" -(if (eq window-system 'x) not working