* bug#1802: 23.0.60; (with-ns) completion of font names does not work
@ 2009-01-06 13:13 B. Smith-Mannschott
2011-10-21 22:36 ` bug#1802: " Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: B. Smith-Mannschott @ 2009-01-06 13:13 UTC (permalink / raw)
To: emacs-pretest-bug
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#1802: 23.0.60; (with-ns) completion of font names does not work
@ 2009-01-23 10:42 Adrian Robert
2009-01-24 1:01 ` Glenn Morris
0 siblings, 1 reply; 5+ messages in thread
From: Adrian Robert @ 2009-01-23 10:42 UTC (permalink / raw)
To: 1802
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#1802: 23.0.60; (with-ns) completion of font names does not work
2009-01-23 10:42 bug#1802: 23.0.60; " Adrian Robert
@ 2009-01-24 1:01 ` Glenn Morris
2009-01-24 3:20 ` Chong Yidong
0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2009-01-24 1:01 UTC (permalink / raw)
To: Adrian Robert; +Cc: 1802, Chong Yidong
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.)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-21 22:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-06 13:13 bug#1802: 23.0.60; (with-ns) completion of font names does not work B. Smith-Mannschott
2011-10-21 22:36 ` bug#1802: " Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2009-01-23 10:42 bug#1802: 23.0.60; " Adrian Robert
2009-01-24 1:01 ` Glenn Morris
2009-01-24 3:20 ` Chong Yidong
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.