From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eamonn Sullivan Newsgroups: gmane.emacs.bugs Subject: bug#45563: 28.0.50; key-chord-mode not working with native comp Date: Thu, 31 Dec 2020 15:11:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000050cdbb05b7c40a66" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10773"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45563@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 31 16:32:18 2020 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 1kuzw0-0002cz-6s for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Dec 2020 16:32:16 +0100 Original-Received: from localhost ([::1]:44646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kuzvz-0007v6-8J for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Dec 2020 10:32:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuzvm-0007u9-HR for bug-gnu-emacs@gnu.org; Thu, 31 Dec 2020 10:32:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kuzvm-0002cv-3B for bug-gnu-emacs@gnu.org; Thu, 31 Dec 2020 10:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kuzvl-0000TQ-US for bug-gnu-emacs@gnu.org; Thu, 31 Dec 2020 10:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eamonn Sullivan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Dec 2020 15:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45563 X-GNU-PR-Package: emacs Original-Received: via spool by 45563-submit@debbugs.gnu.org id=B45563.16094286861773 (code B ref 45563); Thu, 31 Dec 2020 15:32:01 +0000 Original-Received: (at 45563) by debbugs.gnu.org; 31 Dec 2020 15:31:26 +0000 Original-Received: from localhost ([127.0.0.1]:41343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuzvC-0000SV-67 for submit@debbugs.gnu.org; Thu, 31 Dec 2020 10:31:26 -0500 Original-Received: from mail-wm1-f46.google.com ([209.85.128.46]:53790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuzc8-0008Nu-4n for 45563@debbugs.gnu.org; Thu, 31 Dec 2020 10:11:45 -0500 Original-Received: by mail-wm1-f46.google.com with SMTP id k10so7509111wmi.3 for <45563@debbugs.gnu.org>; Thu, 31 Dec 2020 07:11:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CLmYT3s+u6SnAeYUwuFY0R7tY5PgTg/Z9YQOSY9X1yU=; b=aCgH+lzqlMaiygphJuZjdPyRTgjM2J4oZE31Iwgidz+V7QGndmDDHM83UU/xaeNyXu lvixTxrdHqKgoy4hWaOfbopGsIknOSZMqBWnpgtBpkoIFZufNH4Vd5UgzR2816XeQ4VN 8HG4sDbKBeapxReXXO9rXWs6aT93JbOrOYsBHwkIAdKAGp0oTo1eEostM3uJq42NH654 ylFNHm7js5u3BQhgm4RAT8cXk7YKjyrxCo8o3Q61nNMZta2+g+NiTOujrKr7f+d5dMuD neQWt12buzeV/VXM554Le+iGAWJDESSuHj5WeEjuNmCQ5upOWIx0JC+OEr4p1gEPkIgJ gaeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CLmYT3s+u6SnAeYUwuFY0R7tY5PgTg/Z9YQOSY9X1yU=; b=cl6x7sCsdJrkq+EERahowUE6UGeOl4snh2U80Ok7+zSbXE888S54X5Z0zyJVqxGKqY 0GmCU9l6wzjc0yFDf/KSGKbVvkX7ir8haLgQ65ayMpQIeh16GekfV6znEY9urBjUcjv9 Z50kXLEUalP8T5gUUZZZnNNWQHrfZIZkOlDSdENVIihRoTBBdzZtIyF9lXvjcYDSFsMe HMT+2uKjDxO0yhS1+Qebi/KwhATANdM7J2xJ3TPBxhOfpll/N+Ygwy+/TemUrx8V0gZf bCRINFnug5yvd2+K1qo92uGtrcUFi5tE/3fKXiYjiRjo4rFw75dDxnO/DayKpSP95VNn CqsA== X-Gm-Message-State: AOAM532IgydpGFhkknjOGDlnUuL9tyUXSYq42T5kAAxBMMZQZjEG4b19 R+ysiMe9twnQS5OxLldZZuiE9sCAX6i46Rgc33g= X-Google-Smtp-Source: ABdhPJyojQNiLEePwgTDBYnR0nABe7QXX1Af5Iu67BxQfC2zaUJ3IiyO4qu1bNtUnKfTyaV4LTV8HfgH9IWdHG7t7ao= X-Received: by 2002:a7b:cd91:: with SMTP id y17mr11826323wmj.171.1609427498092; Thu, 31 Dec 2020 07:11:38 -0800 (PST) In-Reply-To: X-Mailman-Approved-At: Thu, 31 Dec 2020 10:31:24 -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:197098 Archived-At: --00000000000050cdbb05b7c40a66 Content-Type: text/plain; charset="UTF-8" Hi Andrea, It's probably an issue with use-package, or use-package-chords. Here's the smallest config that I could conjure that seems to reproduce the issue: https://github.com/eamonnsullivan/emacs.d/blob/master/minimal-init.el I start that with: emacs -Q -nw -l ~/git/emacs.d/minimal-init.el Native compile completes, but "JJ" does nothing. Hope that helps, Eamonn On Thu, 31 Dec 2020 at 14:44, Andrea Corallo wrote: > > [re-adding the bug in Cc] > > Eamonn Sullivan writes: > > > Hi, sorry, said something incorrect: > > > > I am *not* able to reproduce the problem when running emacs -q. Key > chords work -- I had forgotten to run key-chord-mode. > > > > But I don't think I'm triggering native-comp when I do that. > > Native compilation should be always available. > > I think would be helpful some reduced reproducer if you can poke a > little at it trying to produce it. > > Thanks > > Andrea > > > Hope that helps, > > Eamonn > > > > On Thu, 31 Dec 2020 at 14:16, Eamonn Sullivan > wrote: > > > > Hi Andrea, > > > > I only use key chords for one thing: QQ to bring up a hydra for > straight.el. This was working in the last couple of > > days. (I used to use it for other things, but kept accidentally > triggering it...) > > > > This is my configuration, if it helps: > https://github.com/eamonnsullivan/emacs.d > > > > I load use-package-chords in init-global-behaviour.el. > > > > However, I also seem to be able to reproduce the issue by starting > emacs with -q and loading and eval'ing > > key-chord.el (from > https://github.com/emacsorphanage/key-chord/blob/master/key-chord.el), so > might not be related to > > native-comp. That was just my first thought. It seems to be wrong! > > > > Thanks for looking into this! > > > > -Eamonn > > > > On Thu, 31 Dec 2020 at 13:56, Andrea Corallo wrote: > > > > Eamonn Sullivan writes: > > > > > My key chord definitions (the few I have) have stopped working. > Example > > > in the scratch buffer: > > > > > > (key-chord-define-global "JJ" 'previous-buffer) > > > previous-buffer > > > JJ > > > > Hi Eamonn, > > > > could you tell since are you experiencing this regression? Also have > > you tried compiling without --with-nativecomp to verify the problem is > > introduced by native compilation? > > > > Thanks > > > > Andrea > > > > -- > akrl@sdf.org > --00000000000050cdbb05b7c40a66 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Andrea,

It's probably an issue w= ith use-package,=C2=A0or use-package-chords.=C2=A0

Here's the sm= allest config that I could conjure that seems to reproduce the issue:
=

I start that with:=C2=A0emacs -= Q -nw -l ~/git/emacs.d/minimal-init.el

Native com= pile completes, but "JJ" does nothing.

H= ope that=C2=A0helps,
Eamonn


On Thu, 31 Dec 20= 20 at 14:44, Andrea Corallo <akrl@sdf.or= g> wrote:

[re-adding the bug in Cc]

Eamonn Sullivan <eamonn.sullivan@gmail.com> writes:

> Hi, sorry, said something incorrect:
>
> I am *not* able to reproduce the problem when running emacs -q. Key ch= ords work -- I had forgotten to run key-chord-mode.
>
> But I don't think I'm triggering native-comp when I do that. <= br>
Native compilation should be always available.

I think would be helpful some reduced reproducer if you can poke a
little at it trying to produce it.

Thanks

=C2=A0 Andrea

> Hope that helps,
> Eamonn
>
> On Thu, 31 Dec 2020 at 14:16, Eamonn Sullivan <eamonn.sullivan@gmail.com>= ; wrote:
>
>=C2=A0 Hi Andrea,
>
>=C2=A0 I only use key chords for one thing: QQ to bring up a hydra for = straight.el. This was working in the last couple of
>=C2=A0 days. (I used to use it for other things, but kept accidentally = triggering it...)
>
>=C2=A0 This is my configuration, if it helps: https://g= ithub.com/eamonnsullivan/emacs.d
>
>=C2=A0 I load use-package-chords in init-global-behaviour.el.
>
>=C2=A0 However, I also seem to be able to reproduce the issue by starti= ng emacs with -q and loading and eval'ing
>=C2=A0 key-chord.el (from ht= tps://github.com/emacsorphanage/key-chord/blob/master/key-chord.el), so= might not be related to
>=C2=A0 native-comp. That was just my first thought. It seems to be wron= g!
>
>=C2=A0 Thanks for looking into this!
>
>=C2=A0 -Eamonn
>
>=C2=A0 On Thu, 31 Dec 2020 at 13:56, Andrea Corallo <akrl@sdf.org> wrote:
>
>=C2=A0 Eamonn Sullivan <eamonn.sullivan@gmail.com> writes:
>
>=C2=A0 > My key chord definitions (the few I have) have stopped work= ing. Example
>=C2=A0 > in the scratch buffer:
>=C2=A0 >
>=C2=A0 > (key-chord-define-global "JJ" 'previous-buffe= r)
>=C2=A0 > previous-buffer
>=C2=A0 > JJ
>
>=C2=A0 Hi Eamonn,
>
>=C2=A0 could you tell since are you experiencing this regression?=C2=A0= Also have
>=C2=A0 you tried compiling without --with-nativecomp to verify the prob= lem is
>=C2=A0 introduced by native compilation?
>
>=C2=A0 Thanks
>
>=C2=A0 =C2=A0 Andrea
>

--
akrl@sdf.org
--00000000000050cdbb05b7c40a66--