From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: OGAWA Hirofumi Newsgroups: gmane.emacs.bugs Subject: bug#43128: Changed the font selection after 52d4c98cec0901ef5cc1c55d5b3b33ac9d9c519f Date: Sat, 29 Oct 2022 21:30:48 +0900 Message-ID: <87r0yqzu9z.fsf@mail.parknet.co.jp> References: <87k0xf9sqv.fsf@luffy.cx> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28506"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 43128@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 29 14:32:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ool0d-0007CC-6i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Oct 2022 14:32:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ool0S-0000ak-0g; Sat, 29 Oct 2022 08:32:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ool0N-0000Zg-1l for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 08:32:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ool0M-0002Wu-LF for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 08:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ool0M-0007qg-HO for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 08:32:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87k0xf9sqv.fsf@luffy.cx> Resent-From: OGAWA Hirofumi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2022 12:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43128 X-GNU-PR-Package: emacs Original-Received: via spool by 43128-submit@debbugs.gnu.org id=B43128.166704666130083 (code B ref 43128); Sat, 29 Oct 2022 12:32:02 +0000 Original-Received: (at 43128) by debbugs.gnu.org; 29 Oct 2022 12:31:01 +0000 Original-Received: from localhost ([127.0.0.1]:35116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ookzM-0007p1-Ql for submit@debbugs.gnu.org; Sat, 29 Oct 2022 08:31:01 -0400 Original-Received: from mail.parknet.co.jp ([210.171.160.6]:53444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ookzH-0007oi-Jl for 43128@debbugs.gnu.org; Sat, 29 Oct 2022 08:30:59 -0400 Original-Received: from ibmpc.myhome.or.jp (server.parknet.ne.jp [210.171.168.39]) by mail.parknet.co.jp (Postfix) with ESMTPSA id CAB59205158B for <43128@debbugs.gnu.org>; Sat, 29 Oct 2022 21:30:50 +0900 (JST) Original-Received: from devron.myhome.or.jp (foobar@devron.myhome.or.jp [192.168.0.3]) by ibmpc.myhome.or.jp (8.17.1.9/8.17.1.9/Debian-1) with ESMTPS id 29TCUn9M099102 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for <43128@debbugs.gnu.org>; Sat, 29 Oct 2022 21:30:50 +0900 Original-Received: from devron.myhome.or.jp (foobar@localhost [127.0.0.1]) by devron.myhome.or.jp (8.17.1.9/8.17.1.9/Debian-1) with ESMTPS id 29TCUm7h420482 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for <43128@debbugs.gnu.org>; Sat, 29 Oct 2022 21:30:49 +0900 Original-Received: (from hirofumi@localhost) by devron.myhome.or.jp (8.17.1.9/8.17.1.9/Submit) id 29TCUmKP420481; Sat, 29 Oct 2022 21:30:48 +0900 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246523 Archived-At: Hi, The change of 52d4c98cec0901ef5cc1c55d5b3b33ac9d9c519f (Fix detection of DPI changes in builds without Xft) looks like changes font selection in my config, and strange behavior. (defvar user-default-font-name "DejaVu Sans Mono") (create-fontset-from-fontset-spec (concat "-*-" user-default-font-name "-*-*-*-*-12-*-*-*-*-*-fontset-user")) ;; Use IPAGothic for japanese (dolist (target '(japanese-jisx0213.2004-1 japanese-jisx0213-2 japanese-jisx0213-1 japanese-jisx0212 japanese-jisx0208 japanese-jisx0208-1978 katakana-jisx0201)) (set-fontset-font "fontset-user" target "IPAGothic")) (setq default-frame-alist (append '((font . "fontset-user")) default-frame-alist)) With above config, the initial frame uses unifont (unexpected) as japanese font. But then, "C-x 5 2" and the second frame uses IPAGothic (expected) as japanese font. Reverting 52d4c98cec0901ef5cc1c55d5b3b33ac9d9c519f resolves this issue (restore old behavior). Thanks. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2022-10-29 built on devron Repository revision: f826f56a413a07eee2782655809e1f5e102c6153 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --with-x-toolkit=gtk3 --without-xim --with-imagemagick --with-wide-int --with-native-compilation=aot' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: ja_JP.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t coterm-mode: t shell-dirtrack-mode: t flycheck-pos-tip-mode: t global-flycheck-mode: t global-company-mode: t company-mode: t auto-insert-mode: t yas-global-mode: t yas-minor-mode: t electric-pair-mode: t savehist-mode: t icomplete-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /usr/local/share/emacs/site-lisp/git-modes/git-modes-autoloads hides /usr/local/share/emacs/site-lisp/elpa/git-modes-20220422.1611/git-modes-autoloads Features: (shadow bbdb-message mailalias emacsbug mule-util sort gnus-cite shr-color color mm-archive mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg bbdb-gnus-aux qp gnus-ml gnus-topic pp url-http url-gw url-cache utf-7 epa-file network-stream nsm nnfolder bbdb-gnus nnnil bbdb-mua spam spam-stat bbdb-com crm bbdb bbdb-site timezone gnus-uu yenc gnus-demon gnus-delay gnus-draft gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom nndraft nnmh gnus-xoauth2 oauth2-ext plstore gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util time-date mail-utils range mm-util mail-prsvr wid-edit dired-aux dircolors-faces dired-x dired dired-loaddefs comp comp-cstr warnings icons company-yasnippet flyspell ispell server bbdb-loaddefs auth-source-pass rfc-autoloads url-auth debian-autoloads langtool-autoloads generic-x coterm compat compat-macs term disp-table shell pcomplete ehelp git-modes-autoloads flycheck-relint relint compile text-property-search comint ansi-osc xr flycheck-pos-tip pos-tip flycheck ansi-color find-func rx dash company-cscope company-oddmuse company-keywords company-etags etags fileloop generator xref project ring company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company pcase autoinsert cl-extra yasnippet help-mode elec-pair savehist browse-kill-ring delsel tab-bar-session desktop frameset icomplete mozc-popup popup mozc-im-indicater mozc-im advice mozc company-autoloads coterm-autoloads compat-autoloads csv-mode-autoloads expand-region-autoloads flycheck-autoloads info dash-autoloads gnuplot-autoloads lua-mode-autoloads markdown-mode-autoloads php-mode-autoloads popup-autoloads pos-tip-autoloads rust-mode-autoloads xr-autoloads yaml-mode-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib japan-util rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 489068 36963) (symbols 48 25661 12) (strings 32 109898 13110) (string-bytes 1 3282391) (vectors 16 86583) (vector-slots 8 1735684 54385) (floats 8 407 247) (intervals 56 1970 370) (buffers 984 28)) -- OGAWA Hirofumi