From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#23486: 25.0.93; Modules: features missing from make_function Date: Sun, 13 Sep 2020 11:44:18 +0200 Message-ID: References: <871stj4bj3.fsf@users.sourceforge.net> <87r2xvh7p9.fsf@users.sourceforge.net> <87pn70495j.fsf@gnus.org> 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="32638"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 23486@debbugs.gnu.org, Noam Postavsky To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 13 11:45:12 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 1kHOZM-0008O3-Gk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Sep 2020 11:45:12 +0200 Original-Received: from localhost ([::1]:33626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHOZL-0004Gm-8k for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Sep 2020 05:45:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHOZC-0004Gb-6d for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2020 05:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHOZB-00007o-So for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2020 05:45:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHOZB-0006mg-QQ for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2020 05:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Sep 2020 09:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23486 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 23486-submit@debbugs.gnu.org id=B23486.159999027726034 (code B ref 23486); Sun, 13 Sep 2020 09:45:01 +0000 Original-Received: (at 23486) by debbugs.gnu.org; 13 Sep 2020 09:44:37 +0000 Original-Received: from localhost ([127.0.0.1]:49454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHOYn-0006lq-2O for submit@debbugs.gnu.org; Sun, 13 Sep 2020 05:44:37 -0400 Original-Received: from mail-ot1-f46.google.com ([209.85.210.46]:33039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHOYl-0006ld-BV for 23486@debbugs.gnu.org; Sun, 13 Sep 2020 05:44:36 -0400 Original-Received: by mail-ot1-f46.google.com with SMTP id m12so12261458otr.0 for <23486@debbugs.gnu.org>; Sun, 13 Sep 2020 02:44:35 -0700 (PDT) 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=P49LohtzX6c7fTT9/35A0em4vvOlfA6OhQh8kigjMsk=; b=YoTdZ+KLljLg19zn/ChG/q+JPl4DPN6RuphnS9k96l/hvU61Ce+n6fyRglGnYNWbz0 t780kk0GzzNFO16Lvke9DCeeC/eEojY97YOTFAm98MhsqN1oF3F3ApeH/kySeOGpMM1d 4oWq/cq1m5JOGxrsUKT89v7dujw8z2zqvnt2nzzs3AEOUaxdr+rqy+xiKOWtfzHpg86E ruPCANM6s1JN5deVMgbuOiHLIT38uguE3gj3rahxSafSGw/yr2Qx4J7UfZddeKe7ndWm aA9DJ7WTnupI82UH7tZ5cMnUA0UG5Ib1XcbPNKPBL9GXf0ZMVMSotdsmIJ54YPgceORF Ybow== 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=P49LohtzX6c7fTT9/35A0em4vvOlfA6OhQh8kigjMsk=; b=fpMeaZ+e6nM35O4yVME8dyD28RYdgXN9qy23CQXTkaM8tNKpfE4KlmmX4iNtc6SGLq TLTQNswj75u7D/K1R66cGw251kOZ5UST6i/rZhogP1YPh7V+psqDNxTiYREnvJDoJCuo PeM1/d9M9T3F9sTolAn6z7q/RZryTRxM/jJJbR1WYIz5wN/4cIf4zD784+NuEHPMUmhH 0o1LyR8gZ7/5w3EWvsz9Z0NEjuQqSbOtsBAhgqlKJKJk+DaEBhO+Yl3Y70J9ZW88AYup RCDslw3fJ4PfAT3LonQ38MPSEyo7uClNF/l+ZD72/3c1uLgBBUh9uYcEb3TQy3P1c9h6 qTLg== X-Gm-Message-State: AOAM5308EuUpwcfDozApQW6XG7+Qof+ju1VKqdLvUFVr6nPShYn0gX0L rxSXfpIJBI+qM120Lmhq8e7Qf3wOKnKlC9lCMEA= X-Google-Smtp-Source: ABdhPJzD1eLL3nxsaWupqtT/K/8qKCE6041GWJmz7x0QAwBLgcCOWzYuQjEXbzvxze5qTy8oZp9IhpD7T07Y/15SGrs= X-Received: by 2002:a9d:20c1:: with SMTP id x59mr6007812ota.36.1599990269378; Sun, 13 Sep 2020 02:44:29 -0700 (PDT) In-Reply-To: <87pn70495j.fsf@gnus.org> 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:187921 Archived-At: Am Sa., 5. Sept. 2020 um 15:59 Uhr schrieb Lars Ingebrigtsen : > > npostavs@users.sourceforge.net writes: > > > Philipp Stephani writes: > > > >> This is now done (commit > >> 31fded0370c3aa6d2c4370cae21cdb7475873483). This fixes (1) through > >> (3). (4) through (6) are still open. That's probably OK if the > >> limitations are documented; modules can always do the equivalent of > >> (eval ' (defun ...)) to get complete support. > > > > Lisp_Subr's have an intspec field (4), but I agree it's not really > > essential. As I think you mentioned in the OP, supporting `declare' (5) > > is not doable by definition (because the effects of 'declare' operate on > > the symbol, not the function object). > > > > Docstrings containing null or non-Unicode characters (6) just seems > > completely pointless to me. Are there any cases using that capability > > in Emacs (or outside Emacs)? I would probably consider them as bugs. > > This was the final message in this thread. Philipp's patch fixed the > main problems, and (5) and (6) doesn't sound like something that > can/should be fixed. Which leaves (4), which didn't seem essential, > either. > > So is there more to be done here, or should this bug report be closed? > I'd still like to fix (4), just for completeness's sake. How about introducing {get,set}_interactive_spec, just like {get,set}_function_finalizer?