* bug#9646: 24.0.90; Daemon does not heed desired font
@ 2011-10-01 13:09 Eythan Weg
2011-10-01 17:56 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Eythan Weg @ 2011-10-01 13:09 UTC (permalink / raw)
To: 9646
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)
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#9646: 24.0.90; Daemon does not heed desired font
2011-10-01 13:09 bug#9646: 24.0.90; Daemon does not heed desired font Eythan Weg
@ 2011-10-01 17:56 ` Eli Zaretskii
2011-10-02 19:31 ` Eythan Weg
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2011-10-01 17:56 UTC (permalink / raw)
To: Eythan Weg; +Cc: 9646
> From: Eythan Weg <eythanweg@gmail.com>
> 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?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#9646: 24.0.90; Daemon does not heed desired font
2011-10-01 17:56 ` Eli Zaretskii
@ 2011-10-02 19:31 ` Eythan Weg
2020-08-17 22:34 ` Stefan Kangas
0 siblings, 1 reply; 5+ messages in thread
From: Eythan Weg @ 2011-10-02 19:31 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 9646
Eli Zaretskii <eliz@gnu.org>
Sat, 01 Oct 2011 20:56:11 +0300
> From: Eythan Weg <eythanweg@gmail.com>
> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#9646: 24.0.90; Daemon does not heed desired font
2011-10-02 19:31 ` Eythan Weg
@ 2020-08-17 22:34 ` Stefan Kangas
2021-08-25 12:41 ` Lars Ingebrigtsen
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kangas @ 2020-08-17 22:34 UTC (permalink / raw)
To: Eythan Weg; +Cc: 9646
eythanweg@gmail.com (Eythan Weg) writes:
> Eli Zaretskii <eliz@gnu.org>
> Sat, 01 Oct 2011 20:56:11 +0300
>
> > From: Eythan Weg <eythanweg@gmail.com>
> > 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.
(That was 9 years ago.)
Do you still see this on a recent version of Emacs, such as the recently
released version 27.1?
Best regards,
Stefan Kangas
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#9646: 24.0.90; Daemon does not heed desired font
2020-08-17 22:34 ` Stefan Kangas
@ 2021-08-25 12:41 ` Lars Ingebrigtsen
0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-25 12:41 UTC (permalink / raw)
To: Stefan Kangas; +Cc: 9646, Eythan Weg
Stefan Kangas <stefan@marxist.se> writes:
> Do you still see this on a recent version of Emacs, such as the recently
> released version 27.1?
More information was requested, but no response was given within a
year, so I'm closing this bug report. If the problem still exists,
please respond to this email and we'll reopen the bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-08-25 12:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-01 13:09 bug#9646: 24.0.90; Daemon does not heed desired font Eythan Weg
2011-10-01 17:56 ` Eli Zaretskii
2011-10-02 19:31 ` Eythan Weg
2020-08-17 22:34 ` Stefan Kangas
2021-08-25 12:41 ` Lars Ingebrigtsen
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.