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#64315: 30.0.50; yasnippets not working due to change in bytecomp.el Date: Tue, 27 Jun 2023 11:06:59 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ae8adb05ff18cbb8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22858"; mail-complaints-to="usenet@ciao.gmane.io" To: 64315@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 27 11:08:25 2023 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 1qE4gS-0005ic-A7 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Jun 2023 11:08:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qE4g8-0008Fe-P1; Tue, 27 Jun 2023 05:08:04 -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 1qE4g6-0008Ez-TU for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 05:08:02 -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 1qE4g6-0002Iw-KX for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 05:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qE4g6-0004b2-6F for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 05:08:02 -0400 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: Tue, 27 Jun 2023 09:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64315 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.168785685517631 (code B ref -1); Tue, 27 Jun 2023 09:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jun 2023 09:07:35 +0000 Original-Received: from localhost ([127.0.0.1]:47627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qE4fe-0004aH-Co for submit@debbugs.gnu.org; Tue, 27 Jun 2023 05:07:35 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qE4fb-0004a9-LE for submit@debbugs.gnu.org; Tue, 27 Jun 2023 05:07:33 -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 1qE4fb-0007bP-C3 for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 05:07:31 -0400 Original-Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qE4fX-0002DO-GY for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2023 05:07:31 -0400 Original-Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-51d80c5c834so5388292a12.1 for ; Tue, 27 Jun 2023 02:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687856845; x=1690448845; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Ks3ctf2VKRCba6Iebn2P0QkKxeGsnhD6XWkOznLuUNQ=; b=Da5LUiGvSt62hNm3g2LgghCJL6uLH5HEYlZUPUYhJLwIH0FMpa7BhV8+Xs5tn1+SvV gAOIuI3ewCc4I1VvqHSS/rWBx4AKwmw/TkhXG62HTRVXYUQg0QQD3V9Y/D/BKuUdTod3 NDlN0cS+csUbGGBdF53pwXrhS5CAKi60wc2uVZvozMOom3CrefajrK2lB5oqkK8LQ+p4 kvDIJYh+/hf0fV058NUdZCpwGj/n+kLl3fXf045WUb/alQkhjLcx+eBjE6AVhe/FK5bU cTOn+Ci2BbotsXJboFL8HIllAeiK+7rKcUD/j3fjvMIEyNrE85VhZRSwd8wyRFb4m48C I37w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687856845; x=1690448845; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Ks3ctf2VKRCba6Iebn2P0QkKxeGsnhD6XWkOznLuUNQ=; b=BQFAOwJTdUeG33K5WOjl1OgRgYmO00CBoBUNYr0Zt4cMELMfOvJu4WwX/DfwNzbn/8 UILyQKR6VUlXa74bUjVt6hxsvineJzMUDykaDpj50knnJXPIWh+v0mfseGbibW0Vvc+6 ZHlM/XNMpOE9ZnRExxRi2qTqTuL4pmGabACFLb1IRYLK1STcr84a59GJFppRMNcZ6JLN he8e5x+EQgbOSfxAE0r4r1p7pga6LlYSakEOODbayx2jcoiD6Bzev2MQ2eTl6t4bE5ma o37Hup/PzAbt6qPQmK+J0XOaWsUWkrJZCtIEjPZaDn3Rgzz3DnYvXqMXCsWIKoA1RQza CY+A== X-Gm-Message-State: AC+VfDwmzH1G2iQ/4Sr0heUvM6KmHAnhoN5CAp1QgUop5agQ7P7Tay15 9wfRqTg4hdzWnjteagxxY6jfg7QETIN5x9BgH0JV6ZLWmbY= X-Google-Smtp-Source: ACHHUZ5T61Q/FsRYaUNWzEe3tgZWersuq5qelT1kdfyWsJWrLiphSGJw78psYw0hP4rlOEvqZH6P/mJJWOfcGVAcoRo= X-Received: by 2002:a05:6402:5207:b0:51b:c7fe:970 with SMTP id s7-20020a056402520700b0051bc7fe0970mr20063191edd.7.1687856845063; Tue, 27 Jun 2023 02:07:25 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52e.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, T_SCC_BODY_TEXT_LINE=-0.01 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:264135 Archived-At: --000000000000ae8adb05ff18cbb8 Content-Type: text/plain; charset="UTF-8" Preconditions: some snippets in ~/.emacs.d/snippets/emacs-lisp-mode Procedure: emacs -Q M-x p-l-p to instal yasnippet (0.14.1) M-x yas-global-mode Try out one of my snippets in the *scratch* buffer I used the following commits (where emacs/lisp/emacs-lisp/bytecomp.el is changed) to track down the breaking change: Commit Test 0d411a0a6df83168c4f9bfed40803de7ec79ef14 OK c9c0d1cf7f6ab6bbd93941c23304a25b81b29fd5 OK ef1394fca0405bb3738f4f08c21c2d0ca8602d52 KO In the first KO, placeholders are not working as expected It all started when I saw the following message on master: yas--template-menu-binding-pair-get-create: Symbol's function definition is void: \(setf\ internal--with-suppressed-warnings\) In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2023-06-27 built on 0ecd9d511a7f Repository revision: ef1394fca0405bb3738f4f08c21c2d0ca8602d52 Repository branch: HEAD Windowing system distributor 'The X.Org Foundation', version 11.0.12201001 System Description: Ubuntu 22.04.2 LTS Configured using: 'configure --prefix=/usr --program-suffix=30 --with-json --with-x --with-x-toolkit=gtk3 --with-cairo --with-compress-install --with-modules=yes --with-threads --with-included-regex --with-zlib --with-tree-sitter=no --with-native-compilation=yes 'CFLAGS=-g -O2 -ffile-prefix-map=/home/paag/emacs=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -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: Lisp Interaction Minor modes in effect: yas-global-mode: t yas-minor-mode: t tooltip-mode: t global-eldoc-mode: t 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 font-lock-mode: t blink-cursor-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/share/emacs/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/30.0.50/lisp/language/thai-word Features: (shadow sort mail-extr emacsbug message yank-media puny dired dired-loaddefs rfc822 mml mml-sec 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 comp comp-cstr warnings icons rx cl-extra yasnippet help-mode modus-operandi-tinted-theme modus-themes yasnippet-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 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 165363 19455) (symbols 48 12004 0) (strings 32 30048 1665) (string-bytes 1 872455) (vectors 16 20533) (vector-slots 8 417269 13982) (floats 8 67 33) (intervals 56 263 0) (buffers 976 11)) -- 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 --000000000000ae8adb05ff18cbb8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Preconditions:
some snippets in = ~/.emacs.d/snippets/emacs-lisp-mode

Procedure:
emacs -Q
M-x p-= l-p to instal yasnippet (0.14.1)
M-x yas-global-mode
Try out one of m= y snippets in the *scratch* buffer

I used the following commits (whe= re emacs/lisp/emacs-lisp/bytecomp.el is
changed) to track down the break= ing change:

Commit =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Test<= br>0d411a0a6df83168c4f9bfed40803de7ec79ef14 OK
c9c0d1cf7f6ab6bbd93941c23= 304a25b81b29fd5 OK
ef1394fca0405bb3738f4f08c21c2d0ca8602d52 KO

In= the first KO, placeholders are not working as expected

It all start= ed when I saw the following message on master:

yas--template-menu-bi= nding-pair-get-create: Symbol's function definition
is void: \(setf\= internal--with-suppressed-warnings\)




In GNU Emacs 30.0.= 50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
=C2=A03.24.33, cairo vers= ion 1.16.0) of 2023-06-27 built on 0ecd9d511a7f
Repository revision: ef1= 394fca0405bb3738f4f08c21c2d0ca8602d52
Repository branch: HEAD
Windowi= ng system distributor 'The X.Org Foundation', version 11.0.12201001=
System Description: Ubuntu 22.04.2 LTS

Configured using:
=C2= =A0'configure --prefix=3D/usr --program-suffix=3D30 --with-json --with-= x
=C2=A0--with-x-toolkit=3Dgtk3 --with-cairo --with-compress-install
= =C2=A0--with-modules=3Dyes --with-threads --with-included-regex --with-zlib=
=C2=A0--with-tree-sitter=3Dno --with-native-compilation=3Dyes 'CFLA= GS=3D-g -O2
=C2=A0-ffile-prefix-map=3D/home/paag/emacs=3D. -flto=3Dauto = -ffat-lto-objects
=C2=A0-flto=3Dauto -ffat-lto-objects -fstack-protector= -strong -Wformat
=C2=A0-Werror=3Dformat-security' 'CPPFLAGS=3D-W= date-time -D_FORTIFY_SOURCE=3D2'
=C2=A0'LDFLAGS=3D-Wl,-Bsymbolic= -functions -flto=3Dauto -ffat-lto-objects
=C2=A0-flto=3Dauto -Wl,-z,relr= o''

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP= GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBXML2 MODULES NATIVE_C= OMP NOTIFY INOTIFY PDUMPER PNG
SECCOMP SOUND THREADS TIFF TOOLKIT_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: e= s_ES.UTF-8
=C2=A0 value of $LC_TIME: es_ES.UTF-8
=C2=A0 value of $LAN= G: en_GB.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-= coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor = modes in effect:
=C2=A0 yas-global-mode: t
=C2=A0 yas-minor-mode: t=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mod= e: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2= =A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode:= t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 line-num= ber-mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 transient-mark-mode: t<= br>=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/share/emacs/30.0.50/lisp/lang= uage/thai-word

Features:
(shadow sort mail-extr emacsbug message = yank-media puny dired
dired-loaddefs rfc822 mml mml-sec 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 rfc2= 047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils time-date comp comp= -cstr
warnings icons rx cl-extra yasnippet help-mode
modus-operandi-t= inted-theme modus-themes yasnippet-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-sourc= e cl-seq eieio eieio-core cl-macs password-cache
json subr-x map byte-op= t gv bytecomp byte-compile url-vars cl-loaddefs
cl-lib rmc iso-transl to= oltip 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 te= xt-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow i= search 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 tib= etan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek rom= anian slovak czech
european ethiopic indian cyrillic chinese composite e= moji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbr= ev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cu= s-face macroexp
files window text-properties overlay sha1 md5 base64 for= mat env
code-pages mule custom widget keymap hashtable-print-readable ba= ckquote
threads dbusbind inotify dynamic-setting system-font-setting
= font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-ttymake-network-process native-compile emacs)

Memory information:
(= (conses 16 165363 19455)
=C2=A0(symbols 48 12004 0)
=C2=A0(strings 32= 30048 1665)
=C2=A0(string-bytes 1 872455)
=C2=A0(vectors 16 20533)=C2=A0(vector-slots 8 417269 13982)
=C2=A0(floats 8 67 33)
=C2=A0(i= ntervals 56 263 0)
=C2=A0(buffers 976 11))
--
=
Fragen sind nicht da, um beantwortet zu werden,
Fragen s= ind da um gestellt zu werden
Georg Kreisler

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

--000000000000ae8adb05ff18cbb8--