GNU bug report logs -
#2504
ignore invalid font-backends
Previous Next
Reported by: David Abrahams <dave <at> boostpro.com>
Date: Sat, 28 Feb 2009 01:00:03 UTC
Severity: wishlist
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2504 in the body.
You can then email your comments to 2504 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#2504
; Package
emacs
.
(Sat, 28 Feb 2009 01:00:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
David Abrahams <dave <at> boostpro.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 28 Feb 2009 01:00:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I think MacOS Emacs isn't very resilient to customizations for other
platforms that should be ignored. For example, my
default-frame-alist
is
((menu-bar-lines . 1) (font-backend . "xft") (font . "Bitstream Vera Sans Mono-10.5") (tool-bar-lines . 0))
But `M-x new-frame' causes emacs to report "no font backend available"
without opening a new window.
BTW, reporting steps to reproduce bugs with emacs -Q seems to be
counterproductive on MacOS, because if I invoke the underlying
executable instead of the .app bundle, several things don't work
properly... and AFAIK there's no way to pass -Q to the .app bundle.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Applications/Emacs.app/Contents/Resources/etc/DEBUG for instructions.
In GNU Emacs 23.0.90.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
of 2009-02-18 on black.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: Summary
Minor modes in effect:
show-paren-mode: t
server-mode: t
global-auto-revert-mode: t
delete-selection-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:
<help-echo> <down-mouse-1> <mouse-1> M-x g n u s <backspace>
<backspace> <backspace> <backspace> <backspace> s e
t - d e f a <tab> <return> M o n a c o - 1 3 <return>
M-x g n u s <return> <down-mouse-1> <mouse-1> y <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1>
M-x s h e <backspace> <backspace> <backspace> C-g <down-mouse-1>
<mouse-1> L l L l C-p C-p C-p C-n C-n <return> <return>
M-x n e w - f r a <tab> <return> M-x M-p <return> C-p
C-p C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p M-x
s e t - v a r <tab> <return> d e b u g - o n - e r
<tab> <return> t <return> <return> C-n C-n C-n C-n
C-n C-n M-x M-p M-p <return> C-n C-n C-n C-n C-n C-p
C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n M-x M-p
M-p <return> M-p <return> n i l <return> M-x e <backspace>
r e p o r t - e m a <tab> C-g C-g M-x M-p C-g M-x r
e p o r t - e m a <tab> <return>
Recent messages:
nnimap: Updating info for INBOX...done
nnimap: Setting marks in INBOX...done
Fetching headers for INBOX...
nnimap: Retrieving headers...done
Fetching headers for INBOX...done
Generating summary...done
x-create-frame-with-faces: No font backend available [2 times]
Fill column set to 86 (was 70)
x-create-frame-with-faces: No font backend available
Auto-saving...done
Quit [3 times]
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
bug reassigned from package `emacs' to `emacs,ns'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Sat, 28 Feb 2009 01:50: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#2504
; Package
emacs,ns
.
(Sat, 28 Feb 2009 14:45:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jason Rumney <jasonr <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Sat, 28 Feb 2009 14:45:04 GMT)
Full text and
rfc822 format available.
Message #12 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
David Abrahams wrote:
> I think MacOS Emacs isn't very resilient to customizations for other
> platforms that should be ignored. For example, my
>
> default-frame-alist
>
> is
>
> ((menu-bar-lines . 1) (font-backend . "xft") (font . "Bitstream Vera Sans Mono-10.5") (tool-bar-lines . 0))
>
> But `M-x new-frame' causes emacs to report "no font backend available"
> without opening a new window.
>
This is no different than setting (font-backend . "garbage") on any
platform. If you have platform specific settings in your .emacs which
you want to share between platforms, then you need to make them conditional.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#2504
; Package
emacs,ns
.
(Sat, 28 Feb 2009 14:45:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jason Rumney <jasonr <at> gnu.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Sat, 28 Feb 2009 14:45:06 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#2504
; Package
emacs,ns
.
(Sat, 28 Feb 2009 22:20:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Sat, 28 Feb 2009 22:20:03 GMT)
Full text and
rfc822 format available.
Message #22 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
>> I think MacOS Emacs isn't very resilient to customizations for other
>> platforms that should be ignored. For example, my
>>
>> default-frame-alist
>>
>> is
>>
>> ((menu-bar-lines . 1) (font-backend . "xft") (font . "Bitstream Vera Sans Mono-10.5") (tool-bar-lines . 0))
>>
>> But `M-x new-frame' causes emacs to report "no font backend available"
>> without opening a new window.
>>
> This is no different than setting (font-backend . "garbage") on any
> platform. If you have platform specific settings in your .emacs which you
> want to share between platforms, then you need to make them conditional.
We could make it easier for the users by ignoring invalid font-backends,
so a single setting can work on all platforms.
Stefan
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#2504
; Package
emacs,ns
.
(Sat, 28 Feb 2009 22:20:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Sat, 28 Feb 2009 22:20:06 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#2504
; Package
emacs,ns
.
(Sun, 01 Mar 2009 00:50:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
David Abrahams <dave <at> boostpro.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Sun, 01 Mar 2009 00:50:03 GMT)
Full text and
rfc822 format available.
Message #32 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
On Feb 28, 2009, at 5:12 PM, Stefan Monnier wrote:
>>> I think MacOS Emacs isn't very resilient to customizations for other
>>> platforms that should be ignored. For example, my
>>>
>>> default-frame-alist
>>>
>>> is
>>>
>>> ((menu-bar-lines . 1) (font-backend . "xft") (font . "Bitstream
>>> Vera Sans Mono-10.5") (tool-bar-lines . 0))
>>>
>>> But `M-x new-frame' causes emacs to report "no font backend
>>> available"
>>> without opening a new window.
>>>
>
>> This is no different than setting (font-backend . "garbage") on any
>> platform. If you have platform specific settings in your .emacs
>> which you
>> want to share between platforms, then you need to make them
>> conditional.
>
> We could make it easier for the users by ignoring invalid font-
> backends,
> so a single setting can work on all platforms.
Yes, that would be a start, and it's what I had in mind. Conditional
things don't mesh too well with using the customization interface. If
you are going to let people set up platform-specific things in
customize, the first step would be to ignore them if they don't apply,
and the next step would be to support platform-specific customizations
directly, so I could use one font-backend on Linux and another on,
say, MacOS.
Regards,
--
David Abrahams
BoostPro Computing
http://boostpro.com
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#2504
; Package
emacs,ns
.
(Sun, 01 Mar 2009 00:50:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
David Abrahams <dave <at> boostpro.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Sun, 01 Mar 2009 00:50:05 GMT)
Full text and
rfc822 format available.
bug reassigned from package `emacs,ns' to `emacs'.
Request was from
Glenn Morris <rgm+emacsbugs <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 17 Jun 2009 21:00:04 GMT)
Full text and
rfc822 format available.
Severity set to `wishlist' from `normal'
Request was from
Glenn Morris <rgm+emacsbugs <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 17 Jun 2009 21:00:04 GMT)
Full text and
rfc822 format available.
Changed bug title to `ignore invalid font-backends' from `23.0.90; new-frame => "no font backend available."'.
Request was from
Glenn Morris <rgm+emacsbugs <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 17 Jun 2009 21:00:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#2504
; Package
emacs
.
(Thu, 31 Oct 2019 18:04:02 GMT)
Full text and
rfc822 format available.
Message #46 received at 2504 <at> debbugs.gnu.org (full text, mbox):
Jason Rumney <jasonr <at> gnu.org> writes:
> David Abrahams wrote:
>> I think MacOS Emacs isn't very resilient to customizations for other
>> platforms that should be ignored. For example, my
>>
>> default-frame-alist
>>
>> is
>> ((menu-bar-lines . 1) (font-backend . "xft") (font . "Bitstream
>> Vera Sans Mono-10.5") (tool-bar-lines . 0))
>>
>> But `M-x new-frame' causes emacs to report "no font backend available"
>> without opening a new window.
>>
>
> This is no different than setting (font-backend . "garbage") on any
> platform. If you have platform specific settings in your .emacs which
> you want to share between platforms, then you need to make them conditional.
I tried the following in Emacs 27 (on GNU/Linux):
(progn
(setq default-frame-alist
'((menu-bar-lines . 1) (font-backend . "garbage") (tool-bar-lines . 0)))
(make-frame))
It did not error out, so I'm guessing that this has been fixed in the
ten years since it was reported, and I'm closing this bug report. If
this is still an issue, please reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
2504 <at> debbugs.gnu.org and David Abrahams <dave <at> boostpro.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 31 Oct 2019 18:05:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 29 Nov 2019 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 144 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.