From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#21466: [PATCH] Avoid defining (temporarily) vars and functions Date: Sat, 24 Jul 2021 12:26:30 +0200 Message-ID: <87czr8husp.fsf@gnus.org> References: <87eeeestgu.fsf@gnus.org> <87fsw5cgu6.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13873"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Alan Mackenzie , Stefan Monnier , 21466@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 24 12:27:12 2021 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 1m7EsC-0003Sa-5r for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Jul 2021 12:27:12 +0200 Original-Received: from localhost ([::1]:46770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7EsA-00011A-Ud for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Jul 2021 06:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7Es2-000112-Jn for bug-gnu-emacs@gnu.org; Sat, 24 Jul 2021 06:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7Es2-0004Bu-Br; Sat, 24 Jul 2021 06:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m7Es2-00078N-7l; Sat, 24 Jul 2021 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 24 Jul 2021 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21466 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: patch Original-Received: via spool by 21466-submit@debbugs.gnu.org id=B21466.162712240327396 (code B ref 21466); Sat, 24 Jul 2021 10:27:02 +0000 Original-Received: (at 21466) by debbugs.gnu.org; 24 Jul 2021 10:26:43 +0000 Original-Received: from localhost ([127.0.0.1]:45212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7Erj-00077o-FX for submit@debbugs.gnu.org; Sat, 24 Jul 2021 06:26:43 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:60450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7Erg-00077a-VV for 21466@debbugs.gnu.org; Sat, 24 Jul 2021 06:26:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QIZnZ1q7Wr/wkd5ZXC8zXIi0yeNrsCbZmhJE9k7DzEY=; b=EvyeGnrBOdF9S/vXqTXx/2AUW/ BcAy1m1rx9+Kvb/VtCl4LECLUc0N10+8jemg+EinKuxitAeU6CtBErXSR2pBpF+jlm1h5uYGbbmpN wNDfNPRkMcjJbUCCzHNe2+FH8J89QvJXH9rTiWBtEbbbz8Zhs8Gq5+uE08oP0ZBmRAiw=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m7ErX-0004ED-EK; Sat, 24 Jul 2021 12:26:34 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEX41p3otofWmnCp aVNKLyb///85U+krAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UHGAoJDHgz8UUAAAG+SURBVDjLbZPb leQgDETBk4CENwAjOoA2cgLbkH9MWxL4MbNDf7QPl1LxKIUwB4VvI15fRN/gE8Qn4CeIvwKQhS7E fJUkgGtdvACbgsMpYU5zhZRE27YQnwrx/0UxStry6cHJwZdq762CMIqwCRwsNo8BEfEcE/QxmuaT SDGno5+kxm3MOwhzFlxlCkQNXIrePjG7w09gkmigOHi1m7wj/w42caAO1v6oNb0dfD3A3+n9H2jZ wfCITxCt0gRhPZ6KdIOnP3G+AZ7h9GnJBBNQvjUfTtU2pf7A/tTu07YYdW53CSsvmyQ//l5ZtJZq pTisVLIWu/amutayFzWwhUJFHDQ8LyxyKQYyAFa89Gh6qEorMhQprPngT2na8VP5lPoa5rQmxZd5 9KppTyg1tksStVrmYF7tPdYyDph2ThmJAcChcbvmYnFeaPF52EsOI1YABPsUKUqWVxMakUZKcCGW VogiQB4gOUCMI0PE6U/fzrAPABXOyXnt7xuMUJ7dsNNoKGRXpiKEYl1yNhRAzhO8cCmdpjuAn4k9 wniSOmpNIBmS0Sbt6kEHArCMMLgiXkB45qS9z3b2fF1AdR+15B+Mln+kRFSe+QAAACV0RVh0ZGF0 ZTpjcmVhdGUAMjAyMS0wNy0yNFQxMDowOToxMiswMDowMGuojjIAAAAldEVYdGRhdGU6bW9kaWZ5 ADIwMjEtMDctMjRUMTA6MDk6MTIrMDA6MDAa9TaOAAAAAElFTkSuQmCC X-Now-Playing: Heidi Berry's _Heidi Berry_: "For the Rose" In-Reply-To: (Glenn Morris's message of "Fri, 23 Jul 2021 11:01:03 -0400") 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:210625 Archived-At: Glenn Morris writes: > Whilst that may happen to work as a kludge, it's against the intent of > declare-function, so personally I would prefer that it either remained > undocumented, or you do it properly and make FILE an optional argument > (I haven't checked if check-declare would need changes for that). I almost made it optional at the same time, but then changed my mind -- the nil case is abnormal and it probably almost always an error, so having an explicit nil parameter seemed a more productive alternative. But if others feel differently, go ahead and change it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no