all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: [drew.adams@oracle.com: No default for describe-font, but one is advertised]
Date: Mon, 24 Jul 2006 10:51:57 -0600	[thread overview]
Message-ID: <ea2tsj$sei$1@sea.gmane.org> (raw)
In-Reply-To: <E1G51dg-00086U-B4@fencepost.gnu.org>

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" <drew.adams@oracle.com>
> To: "Emacs-Pretest-Bug" <emacs-pretest-bug@gnu.org>
> Date: Sun, 23 Jul 2006 14:14:24 -0700
> MIME-Version: 1.0
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> 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 22.0.50.1 (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
> emacs-pretest-bug@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
> ------- End of forwarded message -------


-- 
Kevin Rodgers
Sr. Software Engineer, IHS

  reply	other threads:[~2006-07-24 16:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-24 14:42 [drew.adams@oracle.com: No default for describe-font, but one is advertised] Richard Stallman
2006-07-24 16:51 ` Kevin Rodgers [this message]
2006-07-25  3:09   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ea2tsj$sei$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.