From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.bugs Subject: bug#59306: 29.0.50; Resurrected bug? Date: Wed, 16 Nov 2022 12:49:24 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000eb6d8805ed951101" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14252"; mail-complaints-to="usenet@ciao.gmane.io" To: 59306@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 16 12:51:37 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 1ovGx7-0003SS-58 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Nov 2022 12:51:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovGwk-0007ew-GM; Wed, 16 Nov 2022 06:51:14 -0500 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 1ovGwZ-0007eG-8O for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 06:51:04 -0500 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 1ovGwY-00072D-Nl for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 06:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovGwY-0003zz-5f for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 06:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pedro Andres Aranda Gutierrez Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Nov 2022 11:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59306 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.166859940515291 (code B ref -1); Wed, 16 Nov 2022 11:51:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Nov 2022 11:50:05 +0000 Original-Received: from localhost ([127.0.0.1]:56231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovGvc-0003yY-3M for submit@debbugs.gnu.org; Wed, 16 Nov 2022 06:50:05 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:49430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovGvZ-0003y7-NN for submit@debbugs.gnu.org; Wed, 16 Nov 2022 06:50:02 -0500 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 1ovGvT-0007Za-Kb for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 06:49:57 -0500 Original-Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ovGvQ-0006Z6-KE for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2022 06:49:54 -0500 Original-Received: by mail-ej1-x62d.google.com with SMTP id n12so43382852eja.11 for ; Wed, 16 Nov 2022 03:49:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=HE1uCYLNK14OnpBd5VuoUeT3fSP6CaSpFrHU9MCmroQ=; b=GKayTzKVZMOXcNuOhxWZSOgfDegYm6qLUjEEclZ+Cw1v0PpfUtwwKqhid0Z24DU4y1 pXfJo4Ep4kfaJEeJ1ST26cBv728fpwJqTEiFYuTs87x19PAuu8FB+WXOMEK9pnoXINTr SKfgGMkYA7TKMfaWz3Fwu1F/KfNsfGmcne7IxrJp6Iof2RhbTIn7e3syzfbM2Qnd4T0x ujit+Wxppmo2k0ZRz+Z17IPMthTDsHmpKZ22urLFnPEdz7xc4OEuGl9OwayqNCOPJf8O aAfdvIg+YPdm/ds/GQ0Mm9DCZwO9E31DYuxq+L8k1J3HktPHoWh8AweXzPwFJo2BuczL 5Xbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HE1uCYLNK14OnpBd5VuoUeT3fSP6CaSpFrHU9MCmroQ=; b=gs15kSlAsy6uykQlXeMENrcXsOGOfutHfwKg7D1SS3ZhzTyXI2az+zRH58lC+jbe5f umGpoMvLvWkc+TVA/gvxEEJpbAh3t5sqwMAhpknodmOd9bU5X/g36ne5JUKBVuNhD3RZ 9QAvDlWRXo04SdkCis1d/mQDTHnj56drNd5r8mZMYmVhoaGtUo/Ml+PT7nPUX4a8+MTh hP8wjZSeIFlz+wbWu0DEyqmCvx4wXTwDPnfbOJLG96B1kzsKfGDFBTkgcYGeXbD4ecGY Xd3tnnfu+HX2c2+4XSufJKrzdvmuGbHyRpxQuvO/2hpnwdGEJbViL8IUXNBYMaUf2DtR +zJg== X-Gm-Message-State: ANoB5pkERhHEI+H9Q9PoiK/Ri9hA0hSOW7xFzfZSJwTBGSTbR+sXMLzS /0KyIhfWFUogFwdn3H81/sdHWNPLLVa+0zHJB0PYoPsoIwo= X-Google-Smtp-Source: AA0mqf4rGq2Pf6SFVO0kzs3EE9OIX6AwPBd6A9fS9PwDWXsgloLhV8fAsBcYPvbSQFsc76XG9WAWA7OJNoTxZSluWs0= X-Received: by 2002:a17:906:9f0e:b0:755:6595:cd34 with SMTP id fy14-20020a1709069f0e00b007556595cd34mr17987496ejc.70.1668599390102; Wed, 16 Nov 2022 03:49:50 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=paaguti@gmail.com; helo=mail-ej1-x62d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248001 Archived-At: --000000000000eb6d8805ed951101 Content-Type: text/plain; charset="UTF-8" I'm on Emacs29, compiled every 1 or two days, using (set-face-attribute 'default nil :family "whatever" :height my-height) to set my default font in ~/init.el and I've started needing (define-key special-event-map [config-changed-event] 'ignore) to avoid seeing it changed to the default mono font in my system... I've learned the trick from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25228#152 Proof-of-concept init.el file: ------------------------------------------------------------------------------------------------ ;; ;; GUI ;; (defun set-font (font-family font-size &optional line-space) "Set font, size and, optionally line-spacing" (message "using '%s' font" font-family) (setq-default line-spacing line-space) ; reset line-spacing when it is not indicated (set-face-attribute 'default nil :family font-family :height font-size)) (set-font "Liberation Mono" 110 2) ;; (define-key special-event-map [config-changed-event] 'ignore) (setq default-frame-alist '((width . 110) (height . 30))) (message "That's it folks!") ------------------------------------------------------------------------------------------------ Like this it will reset the font to whatever the default monotype font is defined in the system. If you uncomment the (define-key line, you get the right font.. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-11-14 built on d0752a8af10b Repository revision: 83a497ee879959cd1b052fa9138adb79b480394d Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.5 LTS Configured using: 'configure --prefix=/usr --program-suffix=29 --with-json --with-x --with-x-toolkit=gtk3 --with-cairo --with-compress-install --with-modules=yes --with-threads --with-included-regex --with-zlib --with-native-compilation 'CFLAGS=-g -O2 -fdebug-prefix-map=/home/paag/emacs=. -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: es_ES.UTF-8 value of $LC_NUMERIC: es_ES.UTF-8 value of $LC_TIME: es_ES.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t buffer-read-only: 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/share/emacs/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/29.0.50/lisp/language/thai-word Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib 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 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 78712 6045) (symbols 48 7113 0) (strings 32 19577 1968) (string-bytes 1 574200) (vectors 16 15742) (vector-slots 8 325249 11599) (floats 8 28 48) (intervals 56 234 0) (buffers 984 12)) -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --000000000000eb6d8805ed951101 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm on Emacs29, compiled every 1 or two days, using=C2= =A0

(set-face-attribute 'default nil :family &= quot;whatever" :height my-height)=C2=A0

to se= t my default font in ~/init.el and I've started needing=C2=A0

(define-key special-event-map [config-changed-event] &= #39;ignore)

to avoid seeing it changed = to the default mono font in my system... I've learned the trick from


Proof-of-concept init.el file:
= ---------------------------------------------------------------------------= ---------------------
;;
;; GUI
;;
(defun set-font (font-family font-size &optional line-space)
=C2=A0 "Set font, size and, optionally line-spacing"
=C2=A0 (message "using '%s' font" font-family)
=C2=A0 (setq-default line-spacing line-space) ; reset line-spacing w= hen it is not indicated
=C2=A0 (set-face-attribute 'default n= il
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 :family font-family
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :height font-size))
<= div>
(set-font "Liberation Mono" 110 2)
;= ; (define-key special-event-map [config-changed-event] 'ignore)=C2=A0
(setq default-frame-alist '((width . 110) (height . 30)))
(message "That's it folks!")
----------= ---------------------------------------------------------------------------= -----------
Like this it will reset the font to whatever the defa= ult monotype font is defined in the system.=C2=A0
If you uncommen= t the (define-key line, you get the right font..

<= div>In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
<= div>=C2=A03.24.20, cairo version 1.16.0) of 2022-11-14 built on d0752a8af10= b
Repository revision: 83a497ee879959cd1b052fa9138adb79b480394d
Repository branch: master
Windowing system distributor &= #39;The X.Org Foundation', version 11.0.12013000
System Descr= iption: Ubuntu 20.04.5 LTS

Configured using:
=
=C2=A0'configure --prefix=3D/usr --program-suffix=3D29 --with-json= --with-x
=C2=A0--with-x-toolkit=3Dgtk3 --with-cairo --with-compr= ess-install
=C2=A0--with-modules=3Dyes --with-threads --with-incl= uded-regex --with-zlib
=C2=A0--with-native-compilation 'CFLAG= S=3D-g -O2
=C2=A0-fdebug-prefix-map=3D/home/paag/emacs=3D. -fstac= k-protector-strong -Wformat
=C2=A0-Werror=3Dformat-security' = 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2'
=C2=A0'= ;LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GN= UTLS GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBXML2 MODULES NATI= VE_COMP NOTIFY INOTIFY PDUMPER PNG
SECCOMP SOUND THREADS TIFF TOO= LKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM
GTK3 ZLIB
Important settings:
=C2=A0 value of $LC_MONETARY: es_= ES.UTF-8
=C2=A0 value of $LC_NUMERIC: es_ES.UTF-8
=C2= =A0 value of $LC_TIME: es_ES.UTF-8
=C2=A0 value of $LANG: en_GB.U= TF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 loc= ale-coding-system: utf-8-unix

Major mode: Fundamen= tal

Minor modes in effect:
=C2=A0 toolti= p-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 show-paren= -mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wh= eel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mod= e: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font= -lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 buffer= -read-only: t
=C2=A0 line-number-mode: t
=C2=A0 indent-= tabs-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-= composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2= =A0 auto-compression-mode: t

Load-path shadows:
/usr/share/emacs/site-lisp/latex-cjk-thai/thai-word hides /usr/shar= e/emacs/29.0.50/lisp/language/thai-word

Features:<= /div>
(shadow sort mail-extr emacsbug message mailcap yank-media puny d= ired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived= epg rfc6068
epg-config gnus-util text-property-search mm-decode = mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailh= eader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail= -utils time-date cl-loaddefs
comp comp-cstr warnings icons subr-x= rx cl-seq cl-macs gv cl-extra
help-mode bytecomp byte-compile cl= -lib rmc iso-transl tooltip cconv
eldoc paren electric uniquify e= diff-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-cor= e 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<= /div>
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
<= div>jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs=
theme-loaddefs faces cus-face macroexp files window text-propert= ies
overlay sha1 md5 base64 format env code-pages mule custom wid= get keymap
hashtable-print-readable backquote threads dbusbind in= otify
dynamic-setting system-font-setting font-render-setting cai= ro
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-pr= ocess
native-compile emacs)

Memory infor= mation:
((conses 16 78712 6045)
=C2=A0(symbols 48 7113 = 0)
=C2=A0(strings 32 19577 1968)
=C2=A0(string-bytes 1 = 574200)
=C2=A0(vectors 16 15742)
=C2=A0(vector-slots 8 = 325249 11599)
=C2=A0(floats 8 28 48)
=C2=A0(intervals 5= 6 234 0)
=C2=A0(buffers 984 12))

--
Fragen sind nicht da um beantwortet zu werden,
= Fragen sind da um gestellt zu werden
Georg Kreisler

=
Headaches with a Juju log:
unit-basic-16: 09:17:36 WAR= NING juju.worker.uniter.operation we should run a leader-deposed hook here,= but we can't yet

--000000000000eb6d8805ed951101--