From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: gywjwxxk--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#51713: 29.0.50; set-fontset-font do not work well with :weight 'normal of font-spec Date: Tue, 09 Nov 2021 14:39:59 +0800 Message-ID: Reply-To: =?UTF-8?Q?=E7=81=8C=E4=BA=91=E5=8E=BF=E5=8D=AB=E5=81=A5=E5=A7=94=E4=BF=A1=E6=81=AF=E4=B8=AD=E5=BF=83?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27993"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 51713@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 09 13:07:28 2021 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 1mkPuS-00074L-0p for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 13:07:28 +0100 Original-Received: from localhost ([::1]:53476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkPuQ-0006Lk-UU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 07:07:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkPu3-0006IW-IB for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 07:07:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkPu2-00019r-8E for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 07:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkPu2-0003lD-09 for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 07:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=81=8C=E4=BA=91=E5=8E=BF=E5=8D=AB=E5=81=A5=E5=A7=94=E4=BF=A1=E6=81=AF=E4=B8=AD=E5=BF=83?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Nov 2021 12:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51713 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163645957114376 (code B ref -1); Tue, 09 Nov 2021 12:07:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Nov 2021 12:06:11 +0000 Original-Received: from localhost ([127.0.0.1]:32794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkPtA-0003je-D8 for submit@debbugs.gnu.org; Tue, 09 Nov 2021 07:06:11 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:56138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkL2j-0003Ig-LS for submit@debbugs.gnu.org; Tue, 09 Nov 2021 01:55:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkL2i-0006Am-Sq for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 01:55:41 -0500 Original-Received: from out203-205-221-236.mail.qq.com ([203.205.221.236]:52712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkL2Y-0000ab-Nh for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 01:55:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1636440921; bh=UC6wr1XOTJo2rsfdAPW1+r38Wu6lIcRRWvZVPPjxHp4=; h=From:To:Subject:Date; b=ZbfuOrRTP/kcvOoWTMzklpEY372N+/jxu58fVObXLl5WwAvsxCM0Oy1fsxgUAyDAw x5MWOyE8m00W8D/k5mmHgvQ6yUhPGvkINKhOTzV43Txfg1APYDBqHy20I25POtwq5z y/I2x5vqISZ9KJcOntlc2VIB1NqYxEo74KBCyeWo= Original-Received: from debian ([218.92.14.78]) by newxmesmtplogicsvrsza28.qq.com (NewEsmtp) with SMTP id A0017EF0; Tue, 09 Nov 2021 14:40:00 +0800 X-QQ-mid: xmsmtpt1636440000t3xahrvdz X-QQ-XMAILINFO: ND42uzdxTIzrQeQoNA+2JFU+nSel08Q0t//te6FdFhFDcK83bhYL2x2vhQoTit d9565NawCKBf+PN1FTV4JNC//G2MG7oHalgFqUK2D6ZrQwA6NzlivUoIuOxYBNM2umDik8Yf7gbk WWNwcTSaxU96EyITn1hxOlY4E13ZcAZ4rQM677RfY+ZXIC6Y23lOfClzbR2WU5s43DeLGsyDxxn9 TqCegaRE0vPZ4cV2Elcr2rC1uB7BT56+imAtew7IlqkhNEPr3mMe/MBemuRFo0d4IQnS00WPaTzT YZt8BxArtMmTMu35zMoezvG2M4N8BwYVKVBdvOcVtCPod9M/VOO0U8pGsED8itaMQOXnhUHqiKsl A5ddWYCAaCQk1yDAgDlbx+TY+wFZ6WgomLlzbFa8QqfK+xV61knea5iz6JTv4TNMN7MHfSipsSDJ ssL0hcEA0Xz2223OLdHEz1QTd9k3FoTvkCEhs2OXleBAh41fuoFYlX5tjCpotGnxYOW3yZDvxejs PAE7OYA3i5+VeerwogSbpOyIPIvQUMB96nJiLkhfS+gOKH67ZOOGzfbBa6W+hRfNs40k/oJQjzpW H4eQbF0b9zqfy5BpC5tJPNCDLsVve2/XiFNzCaSDpHtVzKMsON0kldj70t8uUaiZuwn6dIYo/Oqe KzbVIfKUTmrEIHUtP4vSkGx02/IFg42cvBvYMUsvrkBKNeYJsZw9/dOw++VYwhJf9pwMG/yQohHN ZugAHOAYPVZkJl/vaemUv1V9dMGIee3Rk9zwpfeVSWuM4Y4s0q0vgWQgoCMSyQuQA8BYGp7ObkrQ 3mIN9YrATn3SyvLlKSuDLXcQCGMyhFBa5/9umuGe Original-Message-ID: <877ddhltmo.fsf@163.com> Received-SPF: pass client-ip=203.205.221.236; envelope-from=gywjwxxk@qq.com; helo=out203-205-221-236.mail.qq.com X-Spam_score_int: 18 X-Spam_score: 1.8 X-Spam_bar: + X-Spam_report: (1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, HELO_DYNAMIC_IPADDR=1.951, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.559, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 09 Nov 2021 07:06:03 -0500 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219438 The below code does not work. ;; This is a test ;; =E8=BF=99=E6=98=AF=E4=B8=80=E4=B8=AA=E6=B5=8B=E8=AF=95 (dolist (charset '(kana han symbol cjk-misc bopomofo)) (set-fontset-font t charset (font-spec :name "Microsoft Yahei" :weight 'normal :slant 'normal :size 20))) when I remove :weight 'normal, it works again, I have tested, it relate to commit: commit 65fd3ca84f75aee0dfebb87fa793dae57c1caf35 Author: Lars Ingebrigtsen AuthorDate: Thu Oct 21 04:30:02 2021 +0200 Support the "medium" font weight In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, c= airo version 1.16.0) of 2021-11-09 built on debian Repository revision: 97fa2ffdf7cb14b59a8aa891e187cd5210fd418b Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --prefix=3D/home/feng/emacs/emacs29-gtk-20211109 --with-native-compilation --with-xwidgets --with-json' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: zh_CN.UTF-8 value of $XMODIFIERS: @im=3Dfcitx locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect: global-undo-tree-mode: t undo-tree-mode: t projectile-mode: t global-git-commit-mode: t magit-auto-revert-mode: t aggressive-indent-mode: t emms-playing-time-display-mode: t emms-playing-time-mode: t yas-global-mode: t yas-minor-mode: t company-posframe-mode: t global-company-mode: t company-mode: t org-super-agenda-mode: t shell-dirtrack-mode: t pyim-isearch-mode: t vertico-mode: t savehist-mode: t global-so-long-mode: t electric-pair-mode: t recentf-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-history-mode: t tab-bar-mode: t file-name-shadow-mode: t context-menu-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 Load-path shadows: /home/feng/.emacs.d/elpa-29/transient-20211105.100/transient hides /home/fe= ng/emacs/emacs29-gtk-20211109/share/emacs/29.0.50/lisp/transient Features: (shadow mule-util mail-extr emacsbug sendmail cursor-sensor eh-gnus-common gnus-select-account eww xdg url-queue mm-url gnus-demon gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cite gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-cache gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader wjw eh-gnus emacs-helper eh-misc undo-tree projectile lisp-mnt grep ibuf-ext ibuffer ibuffer-loaddefs magit-bookmark magit-submodule magit-obsolete magit-popup magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff diff-mode git-commit log-edit message yank-media rmc puny rfc822 mml mml-sec epa derived gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor server magit-mode transient edmacro magit-git magit-section magit-utils crm gitpatch aggressive-indent eh-emms emms-librefm-stream xml emms-librefm-scrobbler emms-playlist-limit emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-cue emms-mode-line-icon emms-player-xine emms-player-mpd tq emms-lyrics emms-url emms-streams emms-show-all emms-tag-editor emms-tag-tracktag emms-mark emms-mode-line emms-info-tinytag emms-info-metaflac emms-info-opusinfo emms-info-ogginfo emms-info-mp3info emms-player-vlc emms-player-mpv emms-playing-time emms-player-mplayer emms-player-simple emms-browser sort emms-playlist-sort emms-last-played emms-volume emms-volume-sndioctl emms-volume-mixerctl emms-volume-pulse emms-volume-amixer emms-playlist-mode emms-source-playlist emms-source-file locate emms-cache emms-info-native bindat emms-info-exiftool emms-info emms-later-do emms-setup emms emms-compat epg rfc6068 epg-config el2org cnfonts cnfonts-ui cus-edit cus-load thingatpt yasnippet vterm face-remap compile color term disp-table ehelp vterm-module term/xterm xterm citre-config citre-lang-fileref citre-util citre-core citre-tag citre-core-tables citre-common eh-complete company-posframe company-keywords company-etags etags fileloop xref project company-gtags company-template company-dabbrev-code company-dabbrev company-files company-capf company eh-org org-super-agenda ts ht s org-habit ob-python python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell parse-time ls-lisp ob-org ob-plantuml ox-extra ox-md ox-org ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox org-element avl-tree generator org-protocol autorevert filenotify pcase org-attach org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 time-date org-keys oc org-loaddefs find-func eh-functions eh-theme modus-vivendi-theme modus-operandi-theme modus-themes eh-basic cal-china-x cal-china lunar solar cal-dst holidays hol-loaddefs cal-menu calendar cal-loaddefs pyim-liberime liberime liberime-core pyim pyim-hacks pyim-probe pyim-cregexp xr pyim-process pyim-cstring pyim-autoselector pyim-punctuation pyim-outcome pyim-indicator pyim-preview pyim-magic pyim-candidates pyim-codes pyim-imobjs pyim-pinyin pyim-pymap pyim-entered pyim-dcache pyim-dict pyim-page popup posframe pyim-scheme pyim-common dired-ranger ring dired-hacks-utils dash wdired dired dired-loaddefs vc vc-dispatcher consult-vertico consult kmacro orderless vertico savehist switch-window switch-window-mvborder switch-window-asciiart quail so-long elec-pair bookmark text-property-search pp recentf tree-widget wid-edit elpa-mirror finder-inf ol org-compat advice org-macs format-spec comp comp-cstr warnings rx cl-extra help-mode info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib china-util iso-transl tooltip 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 cl-generic 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 simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 684448 34339) (symbols 48 45352 4) (strings 32 184598 9834) (string-bytes 1 5906358) (vectors 16 83670) (vector-slots 8 2187269 73075) (floats 8 1184 31) (intervals 56 777 41) (buffers 992 11)) --=20