From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: eythanweg@gmail.com (Eythan Weg) Newsgroups: gmane.emacs.bugs Subject: bug#9646: 24.0.90; Daemon does not heed desired font Date: Sun, 02 Oct 2011 15:31:07 -0400 Message-ID: <87d3efp4w4.fsf@gmail.com> References: <8762k8x3hq.fsf@gmail.com> <837h4od29w.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317583912 25074 80.91.229.12 (2 Oct 2011 19:31:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 Oct 2011 19:31:52 +0000 (UTC) Cc: 9646@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 02 21:31:48 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RARlM-0001jE-78 for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Oct 2011 21:31:48 +0200 Original-Received: from localhost ([::1]:43267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RARlK-0003Fj-T8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Oct 2011 15:31:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RARlI-0003FH-GJ for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:31:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RARlH-0001Vr-GW for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:31:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RARlH-0001Vn-8l for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:31:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RARmX-0008DL-MW for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2011 15:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: eythanweg@gmail.com (Eythan Weg) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2011 19:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9646 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9646-submit@debbugs.gnu.org id=B9646.131758395331538 (code B ref 9646); Sun, 02 Oct 2011 19:33:01 +0000 Original-Received: (at 9646) by debbugs.gnu.org; 2 Oct 2011 19:32:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RARm5-0008Cd-Hx for submit@debbugs.gnu.org; Sun, 02 Oct 2011 15:32:33 -0400 Original-Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RARm3-0008CW-5F for 9646@debbugs.gnu.org; Sun, 02 Oct 2011 15:32:32 -0400 Original-Received: by iaby26 with SMTP id y26so4202157iab.3 for <9646@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= Original-Received: by 10.42.84.15 with SMTP id j15mr6464024icl.228.1317583871389; Sun, 02 Oct 2011 12:31:11 -0700 (PDT) Original-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) In-Reply-To: <837h4od29w.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 01 Oct 2011 20:56:11 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 02 Oct 2011 15:33:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52079 Archived-At: Eli Zaretskii Sat, 01 Oct 2011 20:56:11 +0300 > From: Eythan Weg > 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.