GNU bug report logs -
#1802
23.0.60; (with-ns) completion of font names does not work
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1802 in the body.
You can then email your comments to 1802 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1802
; Package
emacs
.
(Tue, 06 Jan 2009 13:20:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Benjamin Smith-Mannschott <bsmith.occs <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 06 Jan 2009 13:20:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Observed Behavior
=================
1. M-x set-frame-font
Prompts for a font name, but offers no completions.
(Is the user meant to guess?)
2. M-x set-face-font
Prompts for a font name, but offers only the following three values
as possible completions:
-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
-apple-Monaco-medium-normal-normal-Regular-*-*-*-*-*-*-fontset-
startup
-ns-*-*-*-*-*-10-*-*-*-*-*-fontset-standard
Expected Behavior
=================
I would expect a complete list of the fonts current installed on the
system to be offered for completion. This is the behavior on Windows
and Linux as well as (Carbon)Emacs 22.
Note
====
It's not that font selection is completely broken. e.g. Choosing a
font from the font panel presented after selecting "Options >> Set
Defalt Font..." does work after a fashion: it sets the default font
for all windows of the currently focused frame. (Not, however, those
of other frames.)
Also, the following elisp code, will work:
(set-face-attribute 'default nil
:background "#ffffff"
:foundry "apple"
:family "consolas"
:foreground "#000000"
:height 120
:slant 'normal
:weight 'normal
:width 'semi-condensed))
See Also
========
The thread beginning with this message:
http://lists.gnu.org/archive/html/help-gnu-emacs/2009-01/msg00046.html
Configuration
=============
- gcc --version | head -n 1
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)
In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
of 2009-01-06 on Meheadable.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure '--with-ns''
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: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
shell-dirtrack-mode: t
openwith-mode: t
yas/minor-mode: t
global-hl-line-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<backspace> <backspace> <backspace> <backspace> <backspace>
f o n t SPC c o n t r o l SPC C-d C-d C-d C-d C-d C-d
C-d C-d C-d C-d <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
s e l e c t i o n SPC <escape> q C-n C-n C-b C-b C-b
C-b C-f C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-a
C-k C-p C-p C-y C-o C-n C-n C-n C-k C-SPC C-n C-n C-n
C-g C-e C-x C-s C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n SPC SPC SPC
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC ; ; SPC
s o m e SPC o f SPC t h e s e SPC C-n SPC SPC SPC SPC
SPC ; ; SPC p r o p e r t i e s SPC m a y C-n SPC SPC
SPC SPC SPC SPC SPC SPC SPC SPC ; ; SPC n o t SPC b
e SPC n e c e s s a r y C-p C-p C-b C-b C-b C-b C-b
C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b
C-b C-b C-b C-a C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f
C-f C-b C-b C-k C-n C-f C-f C-f C-f C-f C-f C-f C-f
C-f C-k C-n C-k C-b C-b C-b C-b C-b C-k C-x C-s <switch-frame>
<menu-bar> <help-menu> <send-emacs-bug-report>
Recent messages:
Mark saved where search started
Mark set [2 times]
Auto-saving...done
Wrote /Users/bsmith/Wiki/notes/EmacsBugNoCompletionOfFonts.txt
Mark set [2 times]
Quit
Wrote /Users/bsmith/Wiki/notes/EmacsBugNoCompletionOfFonts.txt
Auto-saving...done
Wrote /Users/bsmith/Wiki/notes/EmacsBugNoCompletionOfFonts.txt
byte-code: Beginning of buffer [8 times]
byte-code: Beginning of buffer
bug reassigned from package `emacs' to `emacs,ns'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 07 Jan 2009 18:20:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#1802
; Package
emacs,ns
.
(Fri, 23 Jan 2009 10:50:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Adrian Robert <adrian.b.robert <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Fri, 23 Jan 2009 10:50:05 GMT)
Full text and
rfc822 format available.
Message #12 received at 1802 <at> emacsbugs.donarmstrong.com (full text, mbox):
I get the message 'Invalid font name: "*"' in the minibuffer when I
try this. Some investigation seems to show this is generated in
font.c before any NS-specific code is called. Can you try this in an
X build of the same source and report whether it occurs there too?
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#1802
; Package
emacs,ns
.
(Sat, 24 Jan 2009 01:10:03 GMT)
Full text and
rfc822 format available.
Message #15 received at 1802 <at> emacsbugs.donarmstrong.com (full text, mbox):
Adrian Robert wrote:
> I get the message 'Invalid font name: "*"' in the minibuffer when I
> try this. Some investigation seems to show this is generated in
> font.c before any NS-specific code is called. Can you try this in an
> X build of the same source and report whether it occurs there too?
Indeed
(x-list-fonts "*")
as called by set-frame-font throws an error for me ("Invalid font name
*") in the current trunk on GNU/Linux.
`cvs up -D2009-01-18 font.c' and this goes away, so perhaps it is the
2009-01-19 change to font_spec_from_name?
(I don't think this is related to the original report.)
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#1802
; Package
emacs,ns
.
(Sat, 24 Jan 2009 03:25:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Sat, 24 Jan 2009 03:25:03 GMT)
Full text and
rfc822 format available.
Message #20 received at 1802 <at> emacsbugs.donarmstrong.com (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> (x-list-fonts "*")
>
> as called by set-frame-font throws an error for me ("Invalid font name
> *") in the current trunk on GNU/Linux.
Should be fixed now.
Reply sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
You have taken responsibility.
(Fri, 21 Oct 2011 22:38:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Benjamin Smith-Mannschott <bsmith.occs <at> gmail.com>
:
bug acknowledged by developer.
(Fri, 21 Oct 2011 22:38:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 1802-done <at> debbugs.gnu.org (full text, mbox):
AFAIK the source of the problem has been fixed. It works under
GNU/Linux, so I'll assume it also works for the NS port. If not, please
re-open this bug or make a new one.
Stefan
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 19 Nov 2011 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 220 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.