unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* error: Fontset `tty' does not exist when running the Emacs with *emacs -nw*
@ 2006-12-08 10:20 Hongyi Zhao
  2006-12-08 12:34 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Hongyi Zhao @ 2006-12-08 10:20 UTC (permalink / raw)
  Cc: emacs-devel

Dear Kenichi,

When I run Emacs as this:

% emacs -nw

I meet the error message as the following:

=================
An error has occurred while loading `/home/zhaohs/.emacs':

error: Fontset `tty' does not exist

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

=================

So I run Emacs as this:

% emacs -nw --debug-init

The time, I get the Debugger-entered--Lisp error as this:

=====================
Debugger entered--Lisp error: (error "Fontset `tty' does not exist")
  set-fontset-font("tty" (131072 . 195101) ("*-Sun-ExtB" . "unicode-sip"))
  eval-buffer(#<buffer  *load*> nil "/home/zhaohs/.emacs" nil t)  ; Reading
at $
  load-with-code-conversion("/home/zhaohs/.emacs" "/home/zhaohs/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "^H\205\276^@   \306=\203^Q^@\307^H\310Q\202A^@
\311=\2033^@\312\307\31$
  command-line()
  normal-top-level()
=====================

I don't know the reason.

-- 
Hongyi Zhao <hongyi.zhao@gmail.com>
赵弘毅
--

《行宫》
作者:元稹
寥落古行宫,宫花寂寞红。
白头宫女在,闲坐说玄宗。

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: error: Fontset `tty' does not exist when running the Emacs with *emacs -nw*
  2006-12-08 10:20 error: Fontset `tty' does not exist when running the Emacs with *emacs -nw* Hongyi Zhao
@ 2006-12-08 12:34 ` Kenichi Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2006-12-08 12:34 UTC (permalink / raw)
  Cc: emacs-devel

In article <20061208102001.GA9616@localdomain>, Hongyi Zhao <hongyi.zhao@gmail.com> writes:

> % emacs -nw --debug-init

> The time, I get the Debugger-entered--Lisp error as this:

> =====================
> Debugger entered--Lisp error: (error "Fontset `tty' does not exist")
>   set-fontset-font("tty" (131072 . 195101) ("*-Sun-ExtB" . "unicode-sip"))
>   eval-buffer(#<buffer  *load*> nil "/home/zhaohs/.emacs" nil t)  ; Reading
> at $
>   load-with-code-conversion("/home/zhaohs/.emacs" "/home/zhaohs/.emacs" t t)
>   load("~/.emacs" t t)
>   #[nil "^H\205\276^@   \306=\203^Q^@\307^H\310Q\202A^@
> \311=\2033^@\312\307\31$
>   command-line()
>   normal-top-level()
> =====================

In your .emacs, please use a code something like this:

(if (display-graphic-p)
    (set-fontset-font ...))

---
Kenichi Handa
handa@m17n.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-08 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-08 10:20 error: Fontset `tty' does not exist when running the Emacs with *emacs -nw* Hongyi Zhao
2006-12-08 12:34 ` Kenichi Handa

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).