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.devel Subject: Re: Re: Help Debugging Change In Behavior (Last 30 Days) Date: Wed, 28 Jun 2023 09:18:07 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000037627005ff2b6434" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35477"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 28 09:19:30 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qEPSb-0008y8-Ur for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Jun 2023 09:19:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEPRr-0003Gz-Gs; Wed, 28 Jun 2023 03:18:43 -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 1qEPRl-0003DR-8h for emacs-devel@gnu.org; Wed, 28 Jun 2023 03:18:37 -0400 Original-Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEPRj-0000wD-IS for emacs-devel@gnu.org; Wed, 28 Jun 2023 03:18:36 -0400 Original-Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-51d9123a8abso4377357a12.2 for ; Wed, 28 Jun 2023 00:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687936714; x=1690528714; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=yatMmUMp4n07Pg9f1LoKF/1zgrvXH4B1tOWXmn7xqfA=; b=Z5x9KBgJ/ZQRi8iiROtiG77DL1sElloXpbfLGDPHlVXxdFszk96Hqc4nCfC+T0xsrF GL1785ct9vTwlC6l7jdd/UppHa7B9XX4R1gLP2PEwZKQTo2Hp0tElb3reZ0jLMoS7y7M OR9ECmyUpSCLS546rrBrrLF0MlkGuftmegcVmCpUsyr6Eh/gkgfGvSgOS+H1zY/oxsmc VFNHO44P9x9Nkzpff6KCKWYW1KKyR6EpwuWPBNi9Za4mYlnkKQtCs9hDpPiHOd3N4m9r Rm2s26c6DAiPmonC9a09ZsFaKWH7XUilH9qNGcj933y65w8TmOtCAMqzRVnkmCRlFRtY g2nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687936714; x=1690528714; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yatMmUMp4n07Pg9f1LoKF/1zgrvXH4B1tOWXmn7xqfA=; b=gBOPeh+DzgREMCtKHbxihZF9BtsVMhwJ9FHbQYTQQ/L+jG38lni4zdEu9ZaTsgXHg8 DuWwoZcOIZfpe5r/TeqsIvsoPIWH5vc9IZtnhMk9x6tXUqSFarntSAG6RBbxhawp8QBN HHw9RZ1i7Ozk/a0mjJMo9Yton0H5DrPN5SHdcXGmwB58Wg4Mm4B01UQW7m0OGuVMfINq 8HrVv4tMjXkSzb3R76yuM9w+bv8rztY+q//HTy4fi3keJHQDpdaRWKDaTnNk5kECMdU5 rn4vJr2bkGO/Ow/9JYxjs8sbsEYWcutm3UM4wJXG2G1udhidhfLcQjbXXdY9h7zVTlqm coFg== X-Gm-Message-State: AC+VfDz5xS33FZlQnOWSqIAcPwnHWHiZHDUBYoJ3FlCBoEZS5PcpTH8+ WxKXhq6rJg4xMFWvzCY7LmxNkQgml/AFh3i4y+3YFIKxmU0= X-Google-Smtp-Source: ACHHUZ4Var2XG/SoZQayHPLJmR/9OMHRT8TLWcPLVN31+ds8cjmbLTlezWqmf9glcn+9z2YaR/KB2jU1Ez1/l3eaDWY= X-Received: by 2002:aa7:cd64:0:b0:51d:9bf3:40c5 with SMTP id ca4-20020aa7cd64000000b0051d9bf340c5mr5113559edb.20.1687936713578; Wed, 28 Jun 2023 00:18:33 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=paaguti@gmail.com; helo=mail-ed1-x52a.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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307276 Archived-At: --00000000000037627005ff2b6434 Content-Type: text/plain; charset="UTF-8" >Message: 22 >Date: Tue, 27 Jun 2023 08:37:04 -0700 >From: "T.V Raman" >To: emacs-devel@gnu.org >Subject: Re: Help Debugging Change In Behavior (Last 30 Days) >Message-ID: >Content-Type: text/plain; charset=gb18030 "T.V Raman" writes: > Answering my own question: >There may be a subtle bug that has crept in in setf -- > In my code, I changed the >(setf (struct-slot-access-form val) >by introducing a local var slot, and then using it >(setq slot val) >(setf (struct-slot-access-form) slot) >and that fixed the issue Interestingly enough, this kind of behaviour also affects yasnippet.el and if you grep for setf there, you will find 0 (zero) occurrences there. So some other function in elisp is using fset and that it making yasnippets explode... BR,/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 --00000000000037627005ff2b6434 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
>Message: 22
>Date: Tue, 27 Jun 2023 08:37:04 -07= 00
>From: "T.V Raman" <raman@google.com>
>To: emacs-devel@gnu.org
>Subject: Re: Help Debugging Change In Beh= avior (Last 30 Days)
>Message-ID: <p91zg4kor1b.fsf@google.com>
>Content-Type: text= /plain; charset=3Dgb18030

"T.V Raman" <raman@google.com> writes:


> Answer= ing my own question:

>There may be a subtle bug that has crept in= in setf --

> In my code, I changed the
>(setf (struct-slot= -access-form val)
>by introducing a local var slot, and then using it=

>(setq slot val)
>(setf (struct-slot-access-form) slot)
>and that fixed the issue

Interestingly enou= gh, this kind of behaviour also affects yasnippet.el and if you grep for se= tf there, you will find 0 (zero) occurrences=C2=A0there. So some other func= tion in elisp is using fset and that it making yasnippets explode...
<= div>
BR,/PA
--
Fragen sind ni= cht da, um beantwortet zu werden,
Fragen sind da um gestellt zu we= rden
Georg Kreisler

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

--00000000000037627005ff2b6434--