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#45333: complex command history should not save optional nil parameters Date: Tue, 05 Jul 2022 18:41:23 +0200 Message-ID: <87o7y31pho.fsf@gnus.org> References: <0DJzRuBn1S9jW_MoJt5HXcLQWrzb7Vjkfmlwa9zPvgLIFeEfdPLoiguSztbL4TnuHyxd59Z7BpS9qJo5BinMO3n1mDlWjcytLjq9HmoGIl0=@protonmail.com> <8735ggk7nz.fsf@gnus.org> <83ee007gxo.fsf@gnu.org> <87o7z3bcsp.fsf@gnus.org> <875ykbabl1.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16539"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: laszlomail@protonmail.com, Eli Zaretskii , 45333@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 05 18:50:34 2022 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 1o8lkv-000496-Ra for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Jul 2022 18:50:33 +0200 Original-Received: from localhost ([::1]:46568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8lku-0001PD-L4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Jul 2022 12:50:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8lcg-0000WO-V3 for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2022 12:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8lcg-0001rN-Go for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2022 12:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8lcg-00040W-CP for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2022 12:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jul 2022 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45333 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 45333-submit@debbugs.gnu.org id=B45333.165703929515371 (code B ref 45333); Tue, 05 Jul 2022 16:42:02 +0000 Original-Received: (at 45333) by debbugs.gnu.org; 5 Jul 2022 16:41:35 +0000 Original-Received: from localhost ([127.0.0.1]:51439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8lcE-0003zr-Sc for submit@debbugs.gnu.org; Tue, 05 Jul 2022 12:41:35 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:45706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8lcC-0003zb-On for 45333@debbugs.gnu.org; Tue, 05 Jul 2022 12:41:33 -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:Date:References: In-Reply-To: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=/vjV8D2buQsg51/2HPzMRhZUBj2qvs9tdj6UUS1uFoU=; b=tZhO/TED4cyADPZj9EgdrcWfUz r+Fi9/6GbFjvOjCtMkmfiw+TE3G8y21brlfC5aKCSBWXiTkqwTiCgEISe84u/EA6y6VKfLEE4rO4M Pkwzj1iLRHzE1lQk7CB4/1DvfY7+X+Bg2uo6ZHe9O9A2CB4OgBGM2O3uI8LjCZ0iQsww=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8lc3-0003r5-TX; Tue, 05 Jul 2022 18:41:26 +0200 In-Reply-To: <875ykbabl1.fsf@web.de> (Michael Heerdegen's message of "Tue, 05 Jul 2022 16:16:58 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWFem5CPDeVin// ///U816mAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YHBRAbBtVEs8IAAAF3SURBVCjPTZDBauMwEIZ/ G3tRfXJKppQ9KWUDTp7CKTW4PSlmxqQPsO8hTLaUHsP67i499Sk7lu2yP0joY0b/SD8SRIk3qI39 Z1CWNjaARfFxBtDFUbJCl2VYZKwxBVDWFpGD3fpPwKEzVdW9Ji9v2uH91lEZZ3uvPqZO48j98sUA XNcx7YcWL5dXIEfH2cC3ag7srOefZzG7jUWdx1d8m9DdZX0GCXNOjh7adQMRYV8d6MB0GkFqR3SQ voTwSk4ivRO5h9j3sSisDZDjIYAQZ+q2qO2wHCvhAeM+QiliIanwH4XTaEByXDqfvu+onEI6H4Uh TXRUfK7ue9HK79mb/gP1UajWYf4EelV1ows6nmazUAnQyNS2iAJsqA6TR2hTaegbenFMM9SUuvCN ER5kLZz3s1t/w44nqISi6YcBZE5rHtqSTG0UHsO0Evy94pRhNZ19g2inwT5uiaV4QrHR5/8YUy4+ Yb2aJbnmmu0xdCQpq3l7efsCE+abYhqQ54EAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDctMDVU MTY6Mjc6MDYrMDA6MDD2IVAGAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA3LTA1VDE2OjI3OjA2 KzAwOjAwh3zougAAAABJRU5ErkJggg== X-Now-Playing: Flux's _Uncarved Block_: "Nothing is not Done" 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:236138 Archived-At: Michael Heerdegen writes: > Anyway, trying of prettify away those `nil`s seems like overkill to me. > In theory even an optional `nil' can be significant. They can be if the signature is a &rest that parses the parameters by hand, but are there other cases where a nil optional argument is significant? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no