GNU bug report logs - #9646
24.0.90; Daemon does not heed desired font

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Eythan Weg <eythanweg@HIDDEN>; dated Sat, 1 Oct 2011 17:24:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 9646 <at> debbugs.gnu.org:


Received: (at 9646) by debbugs.gnu.org; 2 Oct 2011 19:32:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 02 15:32:33 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RARm5-0008Cd-Hx
	for submit <at> debbugs.gnu.org; Sun, 02 Oct 2011 15:32:33 -0400
Received: from mail-iy0-f172.google.com ([209.85.210.172])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <eythanweg@HIDDEN>) id 1RARm3-0008CW-5F
	for 9646 <at> debbugs.gnu.org; Sun, 02 Oct 2011 15:32:32 -0400
Received: by iaby26 with SMTP id y26so4202157iab.3
	for <9646 <at> debbugs.gnu.org>; Sun, 02 Oct 2011 12:31:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=from:to:cc:subject:references:date:in-reply-to:message-id
	:user-agent:mime-version:content-type;
	bh=UKpqOV4UB7/Ac0oOEKwQRKnHD8fdT/vyB//+nnkwwGY=;
	b=VRmHY52V3UKEw8VkgiUE3xfDLjoybyxYa2yVdVEvpd5uhmF6WGcVV1BciqEiOtNdtu
	VuuRHMt6n8X4xXXdPhwujC3flwdip12zmxwK/fm+8t4qqohzVJjskgIC1aCYMdS9XjAF
	rP6Two/P1+anbZM415kwPVmAXGAU/V6gCacAA=
Received: by 10.42.84.15 with SMTP id j15mr6464024icl.228.1317583871389;
	Sun, 02 Oct 2011 12:31:11 -0700 (PDT)
Received: from localhost (c-98-253-78-182.hsd1.in.comcast.net. [98.253.78.182])
	by mx.google.com with ESMTPS id v16sm23879955ibe.0.2011.10.02.12.31.09
	(version=TLSv1/SSLv3 cipher=OTHER);
	Sun, 02 Oct 2011 12:31:10 -0700 (PDT)
From: eythanweg@HIDDEN (Eythan Weg)
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#9646: 24.0.90; Daemon does not heed desired font
References: <8762k8x3hq.fsf@HIDDEN> <837h4od29w.fsf@HIDDEN>
Date: Sun, 02 Oct 2011 15:31:07 -0400
In-Reply-To: <837h4od29w.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 01 Oct
	2011 20:56:11 +0300")
Message-ID: <87d3efp4w4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -4.8 (----)
X-Debbugs-Envelope-To: 9646
Cc: 9646 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.4 (----)


Eli Zaretskii <eliz@HIDDEN>
Sat, 01 Oct 2011 20:56:11 +0300

   > From: Eythan Weg <eythanweg@HIDDEN>
   > Date: Sat, 01 Oct 2011 09:09:37 -0400
   > 
   > I start emacs --daemon  with the .emacs content just this:
   > 
   > (setq initial-frame-alist '((font . "DejaVu Sans")))
   > 
   > Now visit a file with hebrew text.  The hebrew chars are shown using
   > freefont.  Do the same without --daemon and the font is chosen
   > correctly.
   
   The daemon does not display its initial frame, so you are customizing
   a frame that is never shown.
   
   Why do you request this font only for the initial frame?  If you do
   the same with default-frame-alist, does it do what you want, both in
   daemon mode and normal invocation?

My original response was sent mistakenly only to Eli.  Here is a revised
version.

To replicate what I see follow this recipe:

Create the file test.el containing:
(add-to-list 'default-frame-alist  '(font . "DejaVu Sans Mono-14"))
(set-fontset-font t 'hebrew '("DejaVu Sans" . "unicode-bmp"))

Now run:

emacs -Q -l test.el file.txt

where file.txt contains some Hebrew characters.  
The Hebrew text appears in DejaVu Sans.

Now run:
emacs --daemon -Q -l test.el
emacsclient -c file.txt.

The Hebrew text does not appear in DejaVu Sans,  and moreover if file.txt
contains niqud it is incorrectly composed in that font.  In my
case emacs chooses to use FreeMono.       





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#9646; Package emacs. Full text available.

Message received at 9646 <at> debbugs.gnu.org:


Received: (at 9646) by debbugs.gnu.org; 1 Oct 2011 17:57:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 01 13:57:32 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RA3oa-00041D-AP
	for submit <at> debbugs.gnu.org; Sat, 01 Oct 2011 13:57:32 -0400
Received: from mtaout20.012.net.il ([80.179.55.166])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <eliz@HIDDEN>) id 1RA3oT-000411-GO
	for 9646 <at> debbugs.gnu.org; Sat, 01 Oct 2011 13:57:31 -0400
Received: from conversion-daemon.a-mtaout20.012.net.il by
	a-mtaout20.012.net.il (HyperSendmail v2007.08) id
	<0LSE00C00F2TD400@HIDDEN> for
	9646 <at> debbugs.gnu.org; Sat, 01 Oct 2011 20:56:11 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([77.126.229.231]) by a-mtaout20.012.net.il
	(HyperSendmail v2007.08) with ESMTPA id
	<0LSE00AC8F5MK661@HIDDEN>;
	Sat, 01 Oct 2011 20:56:11 +0300 (IDT)
Date: Sat, 01 Oct 2011 20:56:11 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#9646: 24.0.90; Daemon does not heed desired font
In-reply-to: <8762k8x3hq.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Eythan Weg <eythanweg@HIDDEN>
Message-id: <837h4od29w.fsf@HIDDEN>
References: <8762k8x3hq.fsf@HIDDEN>
X-Spam-Score: -2.1 (--)
X-Debbugs-Envelope-To: 9646
Cc: 9646 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.1 (--)

> From: Eythan Weg <eythanweg@HIDDEN>
> Date: Sat, 01 Oct 2011 09:09:37 -0400
> 
> I start emacs --daemon  with the .emacs content just this:
> 
> (setq initial-frame-alist '((font . "DejaVu Sans")))
> 
> Now visit a file with hebrew text.  The hebrew chars are shown using
> freefont.  Do the same without --daemon and the font is chosen
> correctly.

The daemon does not display its initial frame, so you are customizing
a frame that is never shown.

Why do you request this font only for the initial frame?  If you do
the same with default-frame-alist, does it do what you want, both in
daemon mode and normal invocation?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#9646; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Oct 2011 17:23:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 01 13:23:02 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RA3HA-0003Da-VR
	for submit <at> debbugs.gnu.org; Sat, 01 Oct 2011 13:23:02 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <eythanweg@HIDDEN>) id 1R9zLG-0005vF-UK
	for submit <at> debbugs.gnu.org; Sat, 01 Oct 2011 09:11:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eythanweg@HIDDEN>) id 1R9zK5-0006Ou-9M
	for submit <at> debbugs.gnu.org; Sat, 01 Oct 2011 09:09:46 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,
	T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:54036)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eythanweg@HIDDEN>) id 1R9zK5-0006Op-7i
	for submit <at> debbugs.gnu.org; Sat, 01 Oct 2011 09:09:45 -0400
Received: from eggs.gnu.org ([140.186.70.92]:45120)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eythanweg@HIDDEN>) id 1R9zK3-0002ZR-W9
	for bug-gnu-emacs@HIDDEN; Sat, 01 Oct 2011 09:09:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eythanweg@HIDDEN>) id 1R9zK2-0006OJ-GM
	for bug-gnu-emacs@HIDDEN; Sat, 01 Oct 2011 09:09:43 -0400
Received: from mail-iy0-f169.google.com ([209.85.210.169]:56013)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eythanweg@HIDDEN>) id 1R9zK2-0006O7-8q
	for bug-gnu-emacs@HIDDEN; Sat, 01 Oct 2011 09:09:42 -0400
Received: by iaen33 with SMTP id n33so3945991iae.0
	for <bug-gnu-emacs@HIDDEN>; Sat, 01 Oct 2011 06:09:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=from:to:subject:date:message-id:mime-version:content-type;
	bh=y8QcTUpsqt4fcaM0wd9dXuOJkNF+KNXtXZskz3iq148=;
	b=D0hqMSz+elxYlSGpU/7gClwKYdf7uSVyjvBFaDkBSb1dgSgepH/+wD9a03KE93jcNd
	yHwfmnoeSdAtmt+Q0j43c+kcLW7zsoNtndEkmvLtM2zBj66kuFSyxvuBsWx3FDQ966hV
	fXwURAwZRUjblbyBiK73hOkMGGT7Nk0+A4aoQ=
Received: by 10.231.25.229 with SMTP id a37mr19690347ibc.8.1317474580978;
	Sat, 01 Oct 2011 06:09:40 -0700 (PDT)
Received: from localhost (c-98-253-78-182.hsd1.in.comcast.net. [98.253.78.182])
	by mx.google.com with ESMTPS id z11sm14677407iba.6.2011.10.01.06.09.39
	(version=TLSv1/SSLv3 cipher=OTHER);
	Sat, 01 Oct 2011 06:09:40 -0700 (PDT)
From: Eythan Weg <eythanweg@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.0.90; Daemon does not heed desired font
Date: Sat, 01 Oct 2011 09:09:37 -0400
Message-ID: <8762k8x3hq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -5.9 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 01 Oct 2011 13:22:59 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.9 (-----)

I start emacs --daemon  with the .emacs content just this:

(setq initial-frame-alist '((font . "DejaVu Sans")))

Now visit a file with hebrew text.  The hebrew chars are shown using
freefont.  Do the same without --daemon and the font is chosen
correctly.




In GNU Emacs 24.0.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.6)
 of 2011-09-27 on fermat
Windowing system distributor `The X.Org Foundation', version 11.0.11101000
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: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Message

Minor modes in effect:
  mml-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <right> <right> <right> 
<down> <down> <down> C-k C-k <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <down> 
<down> <down> <down> <down> <down> <down> M-x g n u 
s <return> C-x b <return> <up> <up> <up> <down> <down> 
<up> C-SPC C-SPC C-n C-n C-n C-n C-n C-n C-n C-n C-x 
r s a C-g C-g M-x r e o p t <tab> <backspace> <backspace> 
<backspace> p o r t <tab> <return>

Recent messages:
Reading active file via nnml...
Reading incoming mail from file...
Wrote /home/weg/Mail/mail/misc/2863
nnml: Reading incoming mail (1 new)...done
Reading active file via nnml...done
Reading active file via nndraft...done
Checking new news...done
Mark set
Mark deactivated
Quit [2 times]

Load-path shadows:
/usr/local/share/emacs/site-lisp/timeclock hides /usr/local/share/emacs/24.0.90/lisp/calendar/timeclock

Features:
(footnote gnus-topic nndraft nnmh gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view
mml-smime smime dig mailcap nnml utf-7 gnutls network-stream auth-source
eieio byte-opt bytecomp byte-compile cconv assoc password-cache starttls
nnimap parse-time tls utf7 netrc nnfolder gnus-cache nnir gnus-sum
macroexp nnnil ecomplete gnus-demon nntp gnus-group gnus-undo nnmail
mail-source nnoo gnus-start gnus-spec gnus-int gnus-range gnus-win gnus
gnus-ems nnheader newcomment shadow sort gnus-util mail-extr message
format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev
mail-utils gmm-utils mailheader emacsbug wid-edit descr-text help-mode
easymenu view time-date tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)




Acknowledgement sent to Eythan Weg <eythanweg@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#9646; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.