From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Myhrberg Newsgroups: gmane.emacs.bugs Subject: bug#43089: [feature/native-comp] eval-after-load against files loaded from *.eln doesn't work after fix for bug#43089 Date: Tue, 1 Sep 2020 14:35:41 +0100 Message-ID: References: <42eb070f-3785-dad6-ec1d-2bc6911c5be7@posteo.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23376"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43089@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 01 15:36:10 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 1kD6SH-0005zA-K1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Sep 2020 15:36:09 +0200 Original-Received: from localhost ([::1]:38120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kD6SG-0005bQ-MJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 01 Sep 2020 09:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kD6SA-0005bG-DV for bug-gnu-emacs@gnu.org; Tue, 01 Sep 2020 09:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kD6SA-0007g0-4y for bug-gnu-emacs@gnu.org; Tue, 01 Sep 2020 09:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kD6S9-0007hi-TU for bug-gnu-emacs@gnu.org; Tue, 01 Sep 2020 09:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Myhrberg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Sep 2020 13:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43089 X-GNU-PR-Package: emacs Original-Received: via spool by 43089-submit@debbugs.gnu.org id=B43089.159896736029606 (code B ref 43089); Tue, 01 Sep 2020 13:36:01 +0000 Original-Received: (at 43089) by debbugs.gnu.org; 1 Sep 2020 13:36:00 +0000 Original-Received: from localhost ([127.0.0.1]:55395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kD6S7-0007hR-V2 for submit@debbugs.gnu.org; Tue, 01 Sep 2020 09:36:00 -0400 Original-Received: from mail-ej1-f51.google.com ([209.85.218.51]:45523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kD6S6-0007hC-5R for 43089@debbugs.gnu.org; Tue, 01 Sep 2020 09:35:58 -0400 Original-Received: by mail-ej1-f51.google.com with SMTP id i26so1653290ejb.12 for <43089@debbugs.gnu.org>; Tue, 01 Sep 2020 06:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jimeh-me.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v7yx350Gi10POi70auQ4majAQE6y4FADGZEhwGULEoo=; b=DAwig4fL3c1h7kEOu9G5O4v9XCxlOnNDM+8zE7ilQhSUCa4jZIhw3UrU1vJee8Pi5X zbUPpQBDtY9ehLpRIfT8S560C/kxoTddVdk5x6YpTD9Iaxbrzq1O6yZNZHsifNHdZ/tR hjbbLd4uTXw/Ipr63pInxe8/eeN903ZAhDf8iaOdKuqMpRCLJa7Gom2JUw0Z66pEtep2 pvHOgiWPo5HgG3f7/MTWymMErpHoUVloRJtZu6rsxxA6fSAaa7roVDrSPoABPIZ1ikKz ltBGOkKrkWIUDSdF1sbDZtnVUdII3mpqLMSlPcM1QdDTsuwIriHWvfZ1VuISHptTy0hv jZjQ== 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=v7yx350Gi10POi70auQ4majAQE6y4FADGZEhwGULEoo=; b=nmA7J2tkLLc9BGUAJEFYLpeyB4TwKD/boR1LfOpYjRHgF/EfRTwGjBXBnjSfqnF1qu jMwvUZF2rALKy0JOy/aFtFH0BorC2T9koMLr+a7x2c24t5x3a0omOyVsvt17NLlEihRW F6w5W/ahNS2gvvSdXVln1xI06mf4vYyjoqM/KAuIOuEf0HcWYcvV5Zmc6Vo8xtuzLKcd OnTzffNw70odW68vu00zgFIgv6+dqbavFBiKNnZaP6dRTf7eRmX5iA80vOGvtWKy/E1I 4rcX6HABpHOlQoGScolizS1x/vk262rsKlMDeLXM2ixF/TiNOBEGQvl+kIeYsSNCXuwt u6dg== X-Gm-Message-State: AOAM530134r45LlXgz9VZg0F0dsf5+uOoxxO1Ki3azh6qj67pk0dyM/L +/Y3uMZ+Q2AxOFpLnKJ75cYErIhjvV7GFnAoBsC3YQ== X-Google-Smtp-Source: ABdhPJxCEvkClQO3i5MBFbM3x1/lpkBw9obXK9qVtfQOMYxPkkHqxJGs4SA5Gi0IYc3Z6ukmoqYYd+enwDMabrBhpEI= X-Received: by 2002:a17:906:d050:: with SMTP id bo16mr1587009ejb.367.1598967351918; Tue, 01 Sep 2020 06:35:51 -0700 (PDT) In-Reply-To: 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:186833 Archived-At: Hi Andrea, I just created a build from 78e8f99 and I'm still seeing the issue. Sorry I wasn't more specific about the exact behavior of smartparens in this situation. Smartparens itself does load and work, but its Ruby specific features are not loaded from "smartparens-ruby.el", which can easily be tested by typing "if" of "def" followed by a space, which should insert a "end" statement on the line below if the Ruby specific features are loaded. Also the C-j and RET keybindings against ruby-mode-map setup via use-package are not bound to "newline-and-indent". So "C-h k C-j" shows C-j bound to "electric-newline-and-maybe-indent", and RET bound to "newline". And both of these issues can be resolved by deleting the cached ruby-mode-*.eln file before starting Emacs. I'm hoping you can reproduce it with the details above, otherwise it's probably an issue that's specific to macOS. On Tue, Sep 1, 2020 at 1:51 PM Andrea Corallo wrote: > > Hi Jim, > > I can't reproduce this bug using the provided setup. > > Each time I open test.rb I see Smartparens in my minor modes. > > I also tried manually placing a with-eval-after-load in a native > compiled file but is effective for me. > > I'm on 78e8f99154, maybe would you try this? (is the latest state) > > Andrea