From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: On elisp running native - Update 12 Date: Sat, 26 Sep 2020 07:29:03 -0700 Message-ID: References: <83o8uegykm.fsf@gnu.org> <74dd94a9-28cb-a5fd-dbc7-ab21009834ad@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25173"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Andrea Corallo , Eli Zaretskii , Stefan Monnier , rms@gnu.org To: Andrea Corallo via "Emacs development discussions." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 26 16:30:47 2020 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 1kMBDr-0006Ry-DT for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Sep 2020 16:30:47 +0200 Original-Received: from localhost ([::1]:60178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMBDq-0008M1-EH for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Sep 2020 10:30:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMBCj-0007s5-Mi for emacs-devel@gnu.org; Sat, 26 Sep 2020 10:29:37 -0400 Original-Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:44500) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMBCH-0008U6-1f for emacs-devel@gnu.org; Sat, 26 Sep 2020 10:29:37 -0400 Original-Received: by mail-pg1-x529.google.com with SMTP id 7so4740596pgm.11 for ; Sat, 26 Sep 2020 07:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=rovJGYq9XflubmTc7kjFCFJgdkVLIQDn8bFhsv0gro8=; b=QK5tOR/FmyTCuES179kkTez84vHgHDfKikIftzOyP60e1NBqjrWMF2Gcm1MbQDoADc KWeJ20WiSh0Rj9r6uST+sACslwmxQsYJrX/agh32dWCw30buK2TZttvbgYoHTKpEnku6 z1g9+kjNKOCusAoIMMYpxuzF7pe2DgMJR2rfp8Jy/R/sHqNnBaAcTFnC/jdLbteULLj/ F4ddrFLZ8h7bhuRJdIkFl4oEjCJzV1FWgkprLa/A0e9L7/9V3N4u7+37YyDBqagnmqdK /e/uezsq8fU39kScabQxuiG5Y3sVChiwWoPuoAzNulzlULzER8s9jjtC7nz0YokPy0Ve g3wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=rovJGYq9XflubmTc7kjFCFJgdkVLIQDn8bFhsv0gro8=; b=oTbl5p95wlmZFIhGhh0jteif77+MK1Hag4aKMtV7KErdSTU2R9dhWf7291bvn8A0k/ RJpItsOoBgC4BZ2TZ9OJl7AEoWZWqBQUZZ87HR1uRTD2Kpc0uIBMTWEhL2UW9BA4Dc2N KQpHh7sKXCnDjIavt81jenAsTI5i8LeAz6hGdG0Er8MJNJuv3nxsr6rYkGKZh3vqBwCm UwuUW3vNN7rb0SZBhI3E3COJ5gyWICw+Az5d0LINfIqP7aanURr4Ihb93DYw1nRwe8cj i5pElOVTKZZC5Q1BPZr3t/RF10Y1WLrU4Z0utARPQ31x6Vdq2MRGC9NBdNZc7Fpz379J HiwA== X-Gm-Message-State: AOAM531NdQmg1U08RAc3grKUIVy1HOhVx9bzedlukmh4iJCEOUcOFIse XeAy9SVXujlhzSccqDojFNELMA== X-Google-Smtp-Source: ABdhPJyHyZUXfKvKV3SdOqUg4XPeH98yKcOEqVmcjEA+wyxxKKaneKBhHCXIrVP4ZwA97/kcb9Dr3Q== X-Received: by 2002:a62:fc51:0:b029:142:4506:9a7b with SMTP id e78-20020a62fc510000b029014245069a7bmr3204711pfh.28.1601130545997; Sat, 26 Sep 2020 07:29:05 -0700 (PDT) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id e62sm5758504pfh.76.2020.09.26.07.29.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Sep 2020 07:29:04 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id AA20AC21DEA; Sat, 26 Sep 2020 07:29:03 -0700 (PDT) In-Reply-To: (Andrea Corallo via's message of "Sat, 26 Sep 2020 10:35:14 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=raman@google.com; helo=mail-pg1-x529.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:256465 Archived-At: Hi Andrea, This looks awesome. A couple of questions: Now that you handle the optimization declarations from cl, could you also handle cl-declaim of the same --- typically used in CL at top-level / start-of file? (cl-declaim (optimize (safety 0) (speed 3))) 2. In your example for advising primitives, you show the generate dfunction as (defun --subr-trampoline-delete-file (filename &optional trash) (funcall filename trash)) Should the above check if delete-file was called interactively, and if yes, in turn call funcall-interactively? --=20 =817=A94 Id: kg:/m/0285kf1 =950=DC8