all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: 2021@emacsbugs.donarmstrong.com
Cc: emacs-pretest-bug@gnu.org
Subject: bug#2021: 23.0.60; X protocol error: BadFont
Date: Wed, 04 Feb 2009 15:05:11 +0100	[thread overview]
Message-ID: <87iqnqz4a0.fsf@escher.local.home> (raw)
In-Reply-To: <874ozo3ksw.fsf@escher.local.home> (Stephen Berman's message of "Sat, 24 Jan 2009 14:17:35 +0100")

On Sat, 24 Jan 2009 14:17:35 +0100 Stephen Berman <stephen.berman@gmx.net> wrote:

> But when I start Emacs like this:
>
> emacs -Q --eval "(setq default-frame-alist '((font-backend . \"xft\") (font . \"Dejavu Sans Mono-10\")))" &
>
> which differs from the first invocation above only in lacking `--daemon'
> and being backgrounded, the frame that appears has tiny illegible
> characters, the shell beeps and prints this:
>
> steve@escher:~> libxcb: WARNING! Program tries to lock an already locked connection,
>         which indicates a programming error.
>         There will be no further warnings about this issue.
>
> and emacs consumes 100% of CPU and can only be killed with -9.  (If I
> don't use `&', then the frame immediately closes and the Emacs process
> is killed.)

It's the font-backend parameter-value pair alone that causes this, i.e.,
instead of the above, it sufficient (and necessary) to do this:

emacs -Q --eval "(setq default-frame-alist '((font-backend . \"xft\")))" &

Likewise, if I make ~/.emacs consist of this:

(setq default-frame-alist '((font-backend . "xft")))

then after invoking `emacs' the same thing happens as above, and in
addition the shell shows the following:

(emacs:11144): GLib-WARNING **: g_main_context_prepare() called recursively from within a source's check() or prepare() member.


--
Steve Berman






  reply	other threads:[~2009-02-04 14:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-24 13:17 bug#2021: 23.0.60; X protocol error: BadFont Stephen Berman
2009-02-04 14:05 ` Stephen Berman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-20  5:22 Chong Yidong
2009-02-20 11:49 ` Stephen Berman

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=87iqnqz4a0.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --cc=2021@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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.