From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: tramp-compat-funcall -> compat-funcall? Date: Thu, 22 Sep 2016 15:22:02 +0200 Message-ID: <87fuosdq85.fsf@gmx.de> References: <87lgykci0z.fsf@lifelogs.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1474552059 7265 195.159.176.226 (22 Sep 2016 13:47:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2016 13:47:39 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 22 15:47:35 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn4LR-000886-LY for ged-emacs-devel@m.gmane.org; Thu, 22 Sep 2016 15:47:21 +0200 Original-Received: from localhost ([::1]:45510 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn4LO-0006iS-Mr for ged-emacs-devel@m.gmane.org; Thu, 22 Sep 2016 09:47:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn3x7-0006lt-0k for emacs-devel@gnu.org; Thu, 22 Sep 2016 09:22:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn3x1-00038g-VI for emacs-devel@gnu.org; Thu, 22 Sep 2016 09:22:12 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:63529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn3x1-00038W-Kp for emacs-devel@gnu.org; Thu, 22 Sep 2016 09:22:07 -0400 Original-Received: from detlef.gmx.de ([87.146.57.20]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M4GND-1avEVc47z1-00rllh; Thu, 22 Sep 2016 15:22:04 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 22 Sep 2016 08:31:22 -0400") X-Provags-ID: V03:K0:4DRuXYBrkqh4m3OpD7xIalRzqFee/IQuEnxvSY8gxRBOZOgfe5S NrJimzIEyBVqHkui9YmJLNbljEyv8g5sYS+H6CnlE9izIIk6KT+jT0onAxQCqku+2KE/bS1 DmE7UjSRuy66h8YItWSBXFX76+uLFp0wKh0Jsmyz7p7680kAHewwAZ8Tw1MK+CyPPpqNe4+ ZSRtj1HCar+gRo/k9kltA== X-UI-Out-Filterresults: notjunk:1;V01:K0:lq7UwPODyRU=:XoOtVWZWE+TRbTS905foRx Bi1/qwPHNLo1vhkSoyDrw6ACvNwgt7GneYp4VInlJ60x6TdjCpasHVWAMkgNBCmWtBu0TWNub qLW5pEeAwTLrXQn0d8/TM81u0/E0yVXeubP60fLnlWssR5vhl+UwlqFbtXEvQsR/MPbhwN9JI hXWfj4Ts24SOL5dymD3cKfuIZY+992OAJMfSZj8+WftS2Fbb+dFk8E/ZTBSUHTLIUGAvwdpy2 4WP0Nl4wHOEpcXB6gcpdlgYa3WzEgg7GHpIjMgrpdWGAB2MFPyRFra1w457GPqcBZAghJ6l+Q Q8IabWH5RwC+YZiLZSYy58iX0vqlMydoHxGD0pa0CgqAbvmrI8yieBjaaPPDrLW6muhRA50SZ QcFT/sszpjUgyfNAzpXuRJl8XrXM7mrsruI6URM38MkqnH/DaGbYRX5Ad9Kk2TJQb4L53TYVH ylDFQfvwtCaqiGpkbL8RsKMxnTQGHhgKhxKorbWJHVZwohhSD0GWSkRyxeHuN9ot4FJCiN4Hx Uz880D6WvaE5tilSK5QpDU9zQYMFukqLWsEohEBqtUmJoqZDN/PmChCBB/UHGxNVbY9xo52Hk goSNo9ZV0Xg9CWlzUXSxKT+Ag4VzhT3dlgV5TANdW9l57Ye6juMrT0kWt7Jp7oipJdaQ3kQ6C vKkYgOkhdOTXTOy0XVVz4maNnT6QBY08ONym7BVktnxs00qyACRLe1DFOhf7TVFgtDyiM1lhP MUIsPCF1OFYd5qNKPFZPZ9TX5asMWk1WDcHY0V1+EnpQGEtGfpX5tr0suGNQ5bcclmWYixeO X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207698 Archived-At: Stefan Monnier writes: > [ The `subrp' check looks wrong/redundant. `functionp' should already return > non-nil if `function` is a subr (unless it's a special form, in which > case using `funcall` would be wrong anyway). ] IIRC, it was not the case in older Emacsen and/or XEmacs. If `functionp' behaves this way since Emacs 23, Tramp could remove the check for `subrp', indeed. > IOW, if there's a kind of situation that recurs often enough to warrant > something like (tramp-)compat-funcall you should report this as a bug. `tramp-compat-funcall' is almost used for backward compatibility. Who shall be the target of a bug report then? > Stefan Best regards, Michael.