unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* yasnippets block last emacs
@ 2023-06-26 16:12 Pedro Andres Aranda Gutierrez
  2023-06-26 17:59 ` Andrea Corallo
  0 siblings, 1 reply; 9+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2023-06-26 16:12 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 970 bytes --]

Hi

I'm getting the following message:

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

Just compiled emacs:

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-26 built on 5fdd05eae699
Repository revision: a6de0d22e4209e2c75dbf1e8c005dfc9d8c64cce
Repository branch: master

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

Doesn't happen when I don't have NATIVE_COMP  activated.

Thx, /PA
-- 
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

[-- Attachment #2: Type: text/html, Size: 1462 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: yasnippets block last emacs
  2023-06-26 16:12 yasnippets block last emacs Pedro Andres Aranda Gutierrez
@ 2023-06-26 17:59 ` Andrea Corallo
  2023-06-27  5:09   ` Pedro Andres Aranda Gutierrez
  0 siblings, 1 reply; 9+ messages in thread
From: Andrea Corallo @ 2023-06-26 17:59 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: emacs-devel

Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> Hi
>
> I'm getting the following message:
>
> yas--template-menu-binding-pair-get-create: Symbol's function definition is void: \(setf\
> internal--with-suppressed-warnings\)
>
> Just compiled emacs:
>
> 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-26 built on 5fdd05eae699
> Repository revision: a6de0d22e4209e2c75dbf1e8c005dfc9d8c64cce
> Repository branch: master
>
> 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
>
> Doesn't happen when I don't have NATIVE_COMP  activated.

That's most likely a bug in the yasnippets missing the necessesary
require.  I suggest you to report it to the yasnippets developer(?s).

Best Regards

  Andrea



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: yasnippets block last emacs
@ 2023-06-27  2:48 Vitaly Ankh
  0 siblings, 0 replies; 9+ messages in thread
From: Vitaly Ankh @ 2023-06-27  2:48 UTC (permalink / raw)
  To: acorallo, Emacs developers

This problem originates from Stefan's macroexp refactor:
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e85ebb3d82466c5838e9c6836e6d8b5c8d0a7c33.
It is uncertain whether the macroexp refactor, yasnippet, or the
native compiler should be responsible for making the necessary changes
to address this issue.

Best Regards

  VitalyR



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: yasnippets block last emacs
  2023-06-26 17:59 ` Andrea Corallo
@ 2023-06-27  5:09   ` Pedro Andres Aranda Gutierrez
  2023-06-28  5:22     ` Pedro Andres Aranda Gutierrez
  0 siblings, 1 reply; 9+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2023-06-27  5:09 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 2236 bytes --]

Hi,

Interestingly enough, if I try to grep through my .emacs.d to find find
internal--with-suppressed-warnings, I get no coincidence:

~ ➤ find .emacs.d -name \*.el -exec grep -H
internal--with-suppressed-warnings {} \;
~ ➤

but when I grep through the emacs source:

paag@multi-edit:~/emacs$ find emacs -name \*.el -exec grep -H
internal--with-suppressed-warnings {} \;
emacs/lisp/emacs-lisp/bytecomp.el:             ;; Later
`internal--with-suppressed-warnings' binds it again, this
emacs/lisp/emacs-lisp/bytecomp.el:
`(internal--with-suppressed-warnings
emacs/lisp/emacs-lisp/bytecomp.el:(put 'internal--with-suppressed-warnings
'byte-hunk-handler
emacs/lisp/emacs-lisp/bytecomp.el:(byte-defop-compiler-1
internal--with-suppressed-warnings

It might not be native compile, but...
Scratching my head...
/PA

On Mon, 26 Jun 2023 at 19:59, Andrea Corallo <acorallo@gnu.org> wrote:

> Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
>
> > Hi
> >
> > I'm getting the following message:
> >
> > yas--template-menu-binding-pair-get-create: Symbol's function definition
> is void: \(setf\
> > internal--with-suppressed-warnings\)
> >
> > Just compiled emacs:
> >
> > 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-26 built on 5fdd05eae699
> > Repository revision: a6de0d22e4209e2c75dbf1e8c005dfc9d8c64cce
> > Repository branch: master
> >
> > 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
> >
> > Doesn't happen when I don't have NATIVE_COMP  activated.
>
> That's most likely a bug in the yasnippets missing the necessesary
> require.  I suggest you to report it to the yasnippets developer(?s).
>
> Best Regards
>
>   Andrea
>


-- 
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

[-- Attachment #2: Type: text/html, Size: 3141 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: yasnippets block last emacs
  2023-06-27  5:09   ` Pedro Andres Aranda Gutierrez
@ 2023-06-28  5:22     ` Pedro Andres Aranda Gutierrez
  2023-06-28 18:36       ` T.V Raman
  0 siblings, 1 reply; 9+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2023-06-28  5:22 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 2839 bytes --]

I've submitted a bug report. It's in the generation of .elc files,
apparently.
Looking for more side effects on stock emacs packages...
/PA

On Tue, 27 Jun 2023 at 07:09, Pedro Andres Aranda Gutierrez <
paaguti@gmail.com> wrote:

> Hi,
>
> Interestingly enough, if I try to grep through my .emacs.d to find find
> internal--with-suppressed-warnings, I get no coincidence:
>
> ~ ➤ find .emacs.d -name \*.el -exec grep -H
> internal--with-suppressed-warnings {} \;
> ~ ➤
>
> but when I grep through the emacs source:
>
> paag@multi-edit:~/emacs$ find emacs -name \*.el -exec grep -H
> internal--with-suppressed-warnings {} \;
> emacs/lisp/emacs-lisp/bytecomp.el:             ;; Later
> `internal--with-suppressed-warnings' binds it again, this
> emacs/lisp/emacs-lisp/bytecomp.el:
> `(internal--with-suppressed-warnings
> emacs/lisp/emacs-lisp/bytecomp.el:(put 'internal--with-suppressed-warnings
> 'byte-hunk-handler
> emacs/lisp/emacs-lisp/bytecomp.el:(byte-defop-compiler-1
> internal--with-suppressed-warnings
>
> It might not be native compile, but...
> Scratching my head...
> /PA
>
> On Mon, 26 Jun 2023 at 19:59, Andrea Corallo <acorallo@gnu.org> wrote:
>
>> Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:
>>
>> > Hi
>> >
>> > I'm getting the following message:
>> >
>> > yas--template-menu-binding-pair-get-create: Symbol's function
>> definition is void: \(setf\
>> > internal--with-suppressed-warnings\)
>> >
>> > Just compiled emacs:
>> >
>> > 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-26 built on 5fdd05eae699
>> > Repository revision: a6de0d22e4209e2c75dbf1e8c005dfc9d8c64cce
>> > Repository branch: master
>> >
>> > 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
>> >
>> > Doesn't happen when I don't have NATIVE_COMP  activated.
>>
>> That's most likely a bug in the yasnippets missing the necessesary
>> require.  I suggest you to report it to the yasnippets developer(?s).
>>
>> Best Regards
>>
>>   Andrea
>>
>
>
> --
> 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
>
>

-- 
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

[-- Attachment #2: Type: text/html, Size: 4194 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: yasnippets block last emacs
@ 2023-06-28 12:08 Ramón Lorenzo Panadés-Barrueta
  2023-06-28 14:27 ` bug#64292: " Corwin Brust
  0 siblings, 1 reply; 9+ messages in thread
From: Ramón Lorenzo Panadés-Barrueta @ 2023-06-28 12:08 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

>* Hi*
>
>* I'm getting the following message:*
>
>* yas--template-menu-binding-pair-get-create: Symbol's function definition is *
>* void: \(setf\*
>* internal--with-suppressed-warnings\)*
>
>* Just compiled emacs:*
>
>* 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-26 built on 5fdd05eae699*
>* Repository revision: a6de0d22e4209e2c75dbf1e8c005dfc9d8c64cce*
>* Repository branch: master*
>
>* 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*
>
>
* Doesn't happen when I don't have NATIVE_COMP  activated.*

I opened an issue in the yasnippets' GitHub site,
https://github.com/joaotavora/yasnippet/issues/1166. One user found that

adding lexical-binding: t in yasnippets.el workarounds the issue. Source:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64292.

[-- Attachment #2: Type: text/html, Size: 1535 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: yasnippets block last emacs
  2023-06-28  5:22     ` Pedro Andres Aranda Gutierrez
@ 2023-06-28 18:36       ` T.V Raman
  2023-06-29  5:15         ` Pedro Andres Aranda Gutierrez
  0 siblings, 1 reply; 9+ messages in thread
From: T.V Raman @ 2023-06-28 18:36 UTC (permalink / raw)
  To: Pedro Andres Aranda Gutierrez; +Cc: Andrea Corallo, emacs-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 152 bytes --]

it appears to stem from changes in cl-macs.el

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
7©4 Id: kg:/m/0285kf1  •0Ü8



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: yasnippets block last emacs
  2023-06-28 14:27 ` bug#64292: " Corwin Brust
@ 2023-06-28 20:26   ` Ramón Lorenzo Panadés-Barrueta
  0 siblings, 0 replies; 9+ messages in thread
From: Ramón Lorenzo Panadés-Barrueta @ 2023-06-28 20:26 UTC (permalink / raw)
  To: Corwin Brust; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]

I can confirm that rev:dcd920 fixed the bug. Thanks for the heads-up!

El mié, 28 jun 2023 a las 16:28, Corwin Brust (<corwin@bru.st>) escribió:

> On Wed, Jun 28, 2023 at 7:08 AM Ramón Lorenzo Panadés-Barrueta
> <rpana92@gmail.com> wrote:
> >
> > > yas--template-menu-binding-pair-get-create: Symbol's function
> definition is
> > > void: \(setf\
> > > internal--with-suppressed-warnings\)
> > >
>
> [snip]
>
> > I opened an issue in the yasnippets' GitHub site,
> > https://github.com/joaotavora/yasnippet/issues/1166. One user found that
> >
> > adding lexical-binding: t in yasnippets.el workarounds the issue. Source:
> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64292.
>
> Stephen M has just pushed changes to master that appear to address
> this.  Would you like to confirm?
>
> Here's a summary of the commit:
>
> > branch:master rev:dcd920 who:monnier where:emacs-30
> what:lisp/emacs-lisp/cl-macs.el (cl--slet): Fix bug#64315
>
> Note, the commit message should probably reference 64292, which
> tracker I've cross-posted to.
>

[-- Attachment #2: Type: text/html, Size: 1743 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: yasnippets block last emacs
  2023-06-28 18:36       ` T.V Raman
@ 2023-06-29  5:15         ` Pedro Andres Aranda Gutierrez
  0 siblings, 0 replies; 9+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2023-06-29  5:15 UTC (permalink / raw)
  To: T.V Raman; +Cc: Andrea Corallo, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

In my case,
Repository revision: c5d6102313076b83526dc79bfb563621671fb70b
which is a revert to an earlier bytecomp.el has made everything work again
:-)

/PA

On Wed, 28 Jun 2023 at 20:36, T.V Raman <raman@google.com> wrote:

> it appears to stem from changes in cl-macs.el
>
> --
>
> Thanks,
>
> --Raman(I Search, I Find, I Misplace, I Research)
> ♈ Id: kg:/m/0285kf1  🦮
>


-- 
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

[-- Attachment #2: Type: text/html, Size: 1233 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-29  5:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26 16:12 yasnippets block last emacs Pedro Andres Aranda Gutierrez
2023-06-26 17:59 ` Andrea Corallo
2023-06-27  5:09   ` Pedro Andres Aranda Gutierrez
2023-06-28  5:22     ` Pedro Andres Aranda Gutierrez
2023-06-28 18:36       ` T.V Raman
2023-06-29  5:15         ` Pedro Andres Aranda Gutierrez
  -- strict thread matches above, loose matches on Subject: below --
2023-06-27  2:48 Vitaly Ankh
2023-06-28 12:08 Ramón Lorenzo Panadés-Barrueta
2023-06-28 14:27 ` bug#64292: " Corwin Brust
2023-06-28 20:26   ` Ramón Lorenzo Panadés-Barrueta

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).