From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.devel Subject: Re: master 5065698: Move the =?utf-8?B?4oCYZGVjbGFyZeKAmQ==?= form before the interactive spec in 10 functions. Date: Thu, 21 Jan 2021 18:13:56 -0800 Message-ID: <843.1611281636@alto> References: <878s8nl0qe.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="5621"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Juri Linkov To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 22 03:17:12 2021 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 1l2m0e-0001KF-4D for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jan 2021 03:17:12 +0100 Original-Received: from localhost ([::1]:54818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2m0d-000621-0J for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Jan 2021 21:17:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2lxf-0005RM-5N for emacs-devel@gnu.org; Thu, 21 Jan 2021 21:14:07 -0500 Original-Received: from shell1.rawbw.com ([198.144.192.42]:30862) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2lxd-0007Rb-9i for emacs-devel@gnu.org; Thu, 21 Jan 2021 21:14:06 -0500 Original-Received: from alto (96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 10M2Dusr033517 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 21 Jan 2021 18:14:01 -0800 (PST) (envelope-from mkupfer@alum.berkeley.edu) X-Authentication-Warning: shell1.rawbw.com: Host 96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133] claimed to be alto In-Reply-To: Your message of "Wed, 20 Jan 2021 23:09:13 +0100." <878s8nl0qe.fsf@gnus.org> X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1 Received-SPF: none client-ip=198.144.192.42; envelope-from=mkupfer@alum.berkeley.edu; helo=shell1.rawbw.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham 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:263264 Archived-At: Lars Ingebrigtsen wrote: > Juri Linkov writes: > > > I wonder what the intention was to do here I tried to track this down. (declare (ignore VAR)) is a Common Lisp thing, to tell the compiler that VAR is unused in the function (so don't warn about it being unused). My CL reference doesn't mention "args" as a pseudo-variable that could be used with ignore. But it's an ancient reference; I don't know what the current standard allows. Based on iterating with "git blame", it looks like the (declare (ignore...)) stuff was introduced with MH-E 7.0, which I think was the first MH-E release that had speedbar support. I don't know why a CL construct was used here, or why the arguments are ignored. Maybe Bill Wohler remembers. > > , what is the closest > > valid thing? Maybe > > > > (declare (advertised-calling-convention (&rest ignored) "28.1")) > > I think just > > (defun mh-speed-toggle (&rest _ignored) > > would be fine? Seems reasonable to me. cheers, mike