[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: No default for describe-font, but one is advertised]

From: Kevin Rodgers
Subject: Re: address@hidden: No default for describe-font, but one is advertised]
Date: Mon, 24 Jul 2006 10:51:57 -0600
User-agent: Thunderbird (Windows/20060516)

Richard Stallman wrote:
Would someone please DTRT and ack?

The error message is "No matching font", but it is reported because
font-info returned nil, so "No info about FONTNAME" would be more
accurate.  But how can font-info return nil for the default font of
the selected frame?  Emacs is already displaying text in that font!

FYI, the default font name is determined by
        (cdr (assq 'font (frame-parameters)))
and then refined by fontset-info if fontset-query returns non-nil.

------- Start of forwarded message -------
From: "Drew Adams" <address@hidden>
To: "Emacs-Pretest-Bug" <address@hidden>
Date: Sun, 23 Jul 2006 14:14:24 -0700
MIME-Version: 1.0
Content-Type: text/plain;
Subject: No default for describe-font, but one is advertised
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.0.4

emacs -Q

M-x describe-font RET

You get this prompt: "Fontname (default current choice for ASCII chars): "

However, hitting RET gives this error message: "No matching font"

The prompt tells you (me at least) that there is a default value, but
hitting RET tells you that there is no default value.

Also, shouldn't that be "Font name", not "Fontname"?

In GNU Emacs (i386-msvc-nt5.1.2600)
 of 2006-07-19 on BOS-CTHEWLAP2
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-msvc (12.00)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  view-mode: t

Recent input:
<down-mouse-1> <mouse-1> C-h C-h <help-echo> <down-mouse-1> <mouse-1> C-x 1 <help-echo> <wheel-down> <wheel-down> <wheel-down> <wheel-down> <wheel-down> C-h f d e s c r b <backspace> i b e - <tab> SPC SPC SPC <tab> <tab> C-g C-g M-x d e s r <backspace> c r i b e - f o n t <return> <tab> <tab> <backspace> <backspace> <backspace> <return> M-x d e c r i b e - f o n t <return> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> s <return> <return> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
Loading regexp-opt...done
Loading dired...done
Loading help-mode...done
Loading help-fns...done
Making completion list... [5 times]
Quit [2 times]
Loading mule-diag...done
call-interactively: Text is read-only
No matching font [2 times]
Loading emacsbug...done

emacs-pretest-bug mailing list
------- End of forwarded message -------

Kevin Rodgers
Sr. Software Engineer, IHS

reply via email to

[Prev in Thread] Current Thread [Next in Thread]