unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 43725@debbugs.gnu.org
Cc: larsi@gnus.org, eliz@gnu.org, monnier@iro.umontreal.ca
Subject: bug#43725: 28.0.50; Include feature/native-comp into master
Date: Tue, 06 Oct 2020 16:39:11 +0000	[thread overview]
Message-ID: <xjfh7r7s40g.fsf@sdf.org> (raw)
In-Reply-To: <xjfa6x3up9d.fsf@sdf.org> (Andrea Corallo via's message of "Sat,  03 Oct 2020 18:40:30 +0000")

Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>>>> Mmmh, I think technically we could, similarly to what we do for the
>>>> advice, synthesize compile and install a trampoline.  This would read
>>>> the symbol-function and calls what's in inside.
>>>> 
>>>> This trampoline installation would be triggered inside Ffset.
>>>> 
>>>> So yeah I think we could, if that's the preferred way I can try this
>>>> way.
>>>
>>> Lars, Stefan: do you agree that this is the preferred way?
>>
>> I'm not really qualified to have an opinion here, but if this allows
>> redefining primitives, I'm all for it.  Redefining primitives is a
>> useful tool.
>>
>> Would these trampolines be installed only if the primitives are
>> redefined, so there'd be no performance impact on code running normally?
>
> That's correct.
>
> I did some experimentation today and also the implementation was easy as
> the trampoline to be synthesized is exactly the same to what we
> synthesize already for advising, essentially I just had to add the
> proper trigger in fset.
>
> At this point I'm also for going this way as it just reduce the
> incompatibly surface and I don't see considerable downsides.
>
>   Andrea

As my understanding is that that's the consensus I've pushed the revert
of those changes in the testsuite and made Ffset effective also for
redefining primitives.

FYI with the last tweaks `make check` is clean.

  Andrea





  reply	other threads:[~2020-10-06 16:39 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30 15:44 bug#43725: 28.0.50; Include feature/native-comp into master Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-30 17:27 ` Lars Ingebrigtsen
2020-09-30 22:37   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-01  1:34     ` Lars Ingebrigtsen
2020-10-01  7:51       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-01 13:13         ` Eli Zaretskii
2020-10-01 13:40           ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-01 15:55           ` Lars Ingebrigtsen
2020-10-01  2:40     ` Eli Zaretskii
2020-10-02 19:39 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-02 19:46   ` Eli Zaretskii
2020-10-02 19:58     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-03  7:27       ` Eli Zaretskii
2020-10-03 17:23         ` Lars Ingebrigtsen
2020-10-03 18:40           ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-06 16:39             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2020-10-07  4:28               ` Lars Ingebrigtsen
2020-10-07 14:47                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-09  4:20                   ` Lars Ingebrigtsen
2020-10-06 17:11         ` Stefan Monnier
2020-11-25 18:35 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-26 10:10   ` Lars Ingebrigtsen
2020-11-26 11:19     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-26 11:28       ` Lars Ingebrigtsen
2020-11-26 12:02         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-04 22:28           ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-06 13:13             ` Lars Ingebrigtsen
2020-11-26 14:17     ` Eli Zaretskii
2020-11-26 21:15       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-27  7:16         ` Eli Zaretskii
2021-02-13 20:06           ` Eli Zaretskii
2021-02-14 20:22             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-16 21:13             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-17 15:18               ` Eli Zaretskii
2021-02-18 21:22                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-19  8:08                   ` Eli Zaretskii
2021-02-18 20:32               ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-18 20:36                 ` Eli Zaretskii
2021-02-18 20:53                   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-19  7:51                     ` Eli Zaretskii
2021-02-19 11:13                       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-19 12:23                         ` Eli Zaretskii
2021-02-19 22:03                           ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-20  6:57                             ` Eli Zaretskii
2021-02-19 12:53                 ` Pip Cet
2021-02-19 13:37                   ` Eli Zaretskii
2021-02-19 14:16                     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-19 14:23                       ` Pip Cet
2021-02-19 14:35                         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-19 14:59                           ` Eli Zaretskii
2021-02-19 15:00                           ` Pip Cet
2021-02-19 15:11                             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-19 17:33                             ` Andy Moreton
2021-02-18 21:56             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-19  8:14               ` Eli Zaretskii
2021-02-18 21:58   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-19  8:16     ` Eli Zaretskii
2021-02-22 20:08       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-22 20:51         ` Pip Cet
2021-02-23  3:23         ` Eli Zaretskii
2021-02-26 19:31           ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-09 19:13             ` Eli Zaretskii
2021-03-09 19:28               ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-09 19:53                 ` Eli Zaretskii
2021-03-09 20:09                   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-10 13:13                     ` Eli Zaretskii
2021-03-10 13:16                       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-10 15:09                         ` Eli Zaretskii
2021-03-10 15:45                           ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-10 16:33                             ` Eli Zaretskii
2021-03-10 16:45                               ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-10 17:06                                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-14 17:22                                   ` Eli Zaretskii
2021-03-14 19:06                                     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-14 19:51                                       ` Eli Zaretskii
2021-03-14 20:00                                         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-15 15:19                                           ` Eli Zaretskii
2021-03-15 15:43                                             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-15 18:33                                               ` Eli Zaretskii
2021-03-15 20:00                                                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-20 11:00                                                   ` Eli Zaretskii
2021-03-20 11:55                                                     ` Eli Zaretskii
2021-03-21  8:32                                                       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-21  9:57                                                         ` Eli Zaretskii
2021-03-15 14:57                                         ` Eli Zaretskii
2021-05-01 18:24 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-05-01 19:06   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xjfh7r7s40g.fsf@sdf.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=43725@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).