From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: master ed84f24a21: Make `signal-process' allow completing over signal names Date: Mon, 27 Jun 2022 15:04:28 +0800 Message-ID: <8735fqegeb.fsf@yahoo.com> References: <165627647702.21409.11158107897633930882@vcs2.savannah.gnu.org> <20220626204757.57AB1C01685@vcs2.savannah.gnu.org> <87ilomewbp.fsf@yahoo.com> <878rpia9yd.fsf@gnus.org> <87a69yegza.fsf@yahoo.com> <874k06a932.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="20103"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 27 09:07:50 2022 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 1o5iqb-0004yA-Bm for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Jun 2022 09:07:49 +0200 Original-Received: from localhost ([::1]:47562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5iqZ-00006U-PP for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Jun 2022 03:07:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5inZ-0006nY-Vv for emacs-devel@gnu.org; Mon, 27 Jun 2022 03:04:42 -0400 Original-Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:46419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5inY-0001AZ-Bc for emacs-devel@gnu.org; Mon, 27 Jun 2022 03:04:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656313478; bh=zxQt9iSD1PJ6edKVeJFb4dvZcl9MHGLP3tX8RBnVdVs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=cVD6ul6etaXUXvdkCyQO5WduQuSxoJ5CfnGedGwT/S3m2LaW8H+A1rlyoz2bKmN7mL/lulM1MJK8fQ1brbtcYeBjYNqE2wYHc3r4rj5ITRiFZ+Tidtig8YO7rBa3Z2zL6mX77HettmErUFa2foRhc7P/mhfWtm9v0918A2XyN4HYxi1qHF3DFd4N8bz7lfjwBmT9Xaud6ws577dNUxEcCdLqTb/BsGHJNoJQvs9ivYJDvPF9SNsjCwPT6kuP856OxNT4AQ5Soj3k7OhhetaYEV11JzByLwDMuEizugpty9cv3EIOeIPYY3YP7n+s2iJe+n6Pin72dQhxzecvmvSW2Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656313478; bh=B6YxJbsLbm5KENlZvurpWMOpRiVhzSYBlTHUiG7bw12=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=K7vOpSiVvBiJi4yXgSaKIj6g2Jo+F2Wvb6ibP5MBzM53ATLcDhWaxpFqDg38plKzi1d6K7XSuC0rXs1WY7EG/alXgBhQL/dRal9XsPvThjo0wfrQ8jMQOwRFoJ3pnxZCtswdLXeqa1DfJkrI59QuDcTSEH1WeoL/HIkix1NqyXDehkcSSbaIqhC1VopspbUrpLRGwnVu5vu8A3Jqs3dYGJaxViP4mUn7nF68fkNlcT5kK+jYV/s4IRrIdVCkq+epj9tVQjdwQPH5gGxCCcfvor47+EkTg6MeJSYVTuQHeOurkzc+7jcfeiVznctP8MbR1MyNehDgYXVZLwQKfgAOfw== X-YMail-OSG: IezPWQMVM1nt9XIglto_lslQjaVz5xo1ONMlFQs967jKAkcKrXsL0K5GocXRvt2 KJEW3vtDqcajaOUpBYwXJMo8P1O6MaQXDrO_jik.cLGQVSyD1axZr8Jlrj6sB30Do6fvxWVX0heW gyiECjUl_TrZ6VWS2mM8xzBXX4n3mG.QdSD0qFODsO.8WUughzWDE21yg6ciRYkqDybFP4byOdXd mx5VUkAyujJ6BQYJS_ZokcK6336oEjqy.swIgAZyKBi_GAONS9AwC.iY1LE2H4aedaO8obUceP5p l4KBm98UaeUUN0CHYTRhbpTPBxQLguuIBuPPy6kIMp8A6NPjMNr6MwFHTLZqYwkeQ19d5QZ0hzwu 1qFvOFf0_KWD1.4i3WSiHxfxWoUq_Yidz7fo2g2F_SQcznofatIoOOsKVkf268oWjWHmQvkuOmHj .Zp3sbXGo3kRyDm2qtURwmDan9j6ZfYWOCw9lq8xmV4xAi5XffUaytNe9g4VeYU0kgFt130n7X8c syPzr61NbxS6QDDJOCpNUuP27aCuGPlTn2emuOSzpqcfq0cYI8tq05CBcsvOfMXV3C3PD5fIHpLX nCAQmRNSsnyiYLvN.D23Isy1OLIIRiKfMjLWuYJ9uoCrj7n3hY2LlKQp.hjTSAEmBdAz3.Cw0UjG qJ6Zjhep6_TKDymZxaxCykvSKtuCpf7dzHDLqBqK4qHFSHQ2CN.zRHMMLEvZBe3E2AJLWyTtUFkg YF1Ptp9F1P6y5dZ4eZ.HM9kjMbDM0SKNpasTIBq0AJkupCPs6qXND8vs4l1xiVAH9EcvV6C8lCAU Aws352QnrtUP5uZH8Hlk5okunhZ9BtBcYie1z77em8 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Mon, 27 Jun 2022 07:04:38 +0000 Original-Received: by hermes--canary-production-sg3-559fcd5995-5cxt2 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 86e84b5becb20cf85ca8013fcc332d38; Mon, 27 Jun 2022 07:04:33 +0000 (UTC) In-Reply-To: <874k06a932.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 27 Jun 2022 08:56:01 +0200") X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.204; envelope-from=luangruo@yahoo.com; helo=sonic310-23.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:291644 Archived-At: Lars Ingebrigtsen writes: > Oh, you mean the loop ends one too early? Yes, that's true. Can't have > new code without at least one off-by-one error; that's illegal. I also meant that the loop should end at NSIG - 1, or SIGRTMAX, instead of an arbitrary number (254). > That was my original assumption, but we apparently check the OS for > sig2str via autoconf, I discovered yesterday. config.h: > > /* Define to 1 if you have the `sig2str' function. */ > /* #undef HAVE_SIG2STR */ Ah, now I remember. It also exists on some proprietary Unices and very old versions of GNU/Linux.