From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: tramp-compat-funcall -> compat-funcall? Date: Sat, 24 Sep 2016 18:42:20 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87y42gyl6b.fsf@lifelogs.com> References: <87lgykci0z.fsf@lifelogs.com> <87h997u1rq.fsf@lifelogs.com> <87oa3dkct4.fsf@gmx.de> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1474757018 31469 195.159.176.226 (24 Sep 2016 22:43:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2016 22:43:38 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 25 00:43:34 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 1bnvfK-0006oa-BX for ged-emacs-devel@m.gmane.org; Sun, 25 Sep 2016 00:43:26 +0200 Original-Received: from localhost ([::1]:35823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnvfI-0001Bj-Me for ged-emacs-devel@m.gmane.org; Sat, 24 Sep 2016 18:43:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnvej-0001Bd-5e for emacs-devel@gnu.org; Sat, 24 Sep 2016 18:42:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnvee-0005FS-4h for emacs-devel@gnu.org; Sat, 24 Sep 2016 18:42:48 -0400 Original-Received: from [195.159.176.226] (port=47336 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnved-0005EJ-UY for emacs-devel@gnu.org; Sat, 24 Sep 2016 18:42:44 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bnveN-0007xS-Pg for emacs-devel@gnu.org; Sun, 25 Sep 2016 00:42:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 14 Original-X-Complaints-To: usenet@blaine.gmane.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Cancel-Lock: sha1:bOGyuyLgf1Vmpe77ukRZVlWx2Rw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:207768 Archived-At: On Sat, 24 Sep 2016 09:57:32 -0400 Stefan Monnier wrote: >>> There's (if (fboundp ') ( )) already (which is much >> Your code snippet misses the `with-no-warnings' umbrella. SM> No, it doesn't: the byte-compiler understands the the if+fboundp means SM> that any call to this function in the branch is "safe" and it won't SM> signal a warning. That's my point. I didn't know that. Thanks for explaining. I think the Gnus function `gnus-funcall-no-warning' can be safely removed then? It's only in three places, so it's an easy fix, but I want to check in case I missed something. Ted