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#57673: [PATCH] Parse --help messages for pcomplete Date: Wed, 14 Sep 2022 21:21:00 +0200 Message-ID: <87edwd3gpv.fsf@gnus.org> References: <87zgfagqfs.fsf@gmail.com> <87sfl1leip.fsf@gmail.com> <87pmg3ef6j.fsf@gmail.com> <877d25day5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36495"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57673@debbugs.gnu.org, Stefan Monnier To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 14 21:22:17 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 1oYXxh-0009Fo-7f for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 21:22:17 +0200 Original-Received: from localhost ([::1]:36760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYXxg-0004Vs-7u for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Sep 2022 15:22:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYXxT-0004Un-Gz for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 15:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39354) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYXxS-0005GJ-8z for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 15:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYXxR-0003pY-Rk for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2022 15:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Sep 2022 19:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57673 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57673-submit@debbugs.gnu.org id=B57673.166318327614669 (code B ref 57673); Wed, 14 Sep 2022 19:22:01 +0000 Original-Received: (at 57673) by debbugs.gnu.org; 14 Sep 2022 19:21:16 +0000 Original-Received: from localhost ([127.0.0.1]:56286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYXwh-0003oX-T0 for submit@debbugs.gnu.org; Wed, 14 Sep 2022 15:21:16 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:53212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYXwe-0003oF-DO for 57673@debbugs.gnu.org; Wed, 14 Sep 2022 15:21:14 -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=8icUwAEl2hd3OLK1AELe8V2CRrgxuRnj40t6Nz21jxY=; b=nKSWb5RnUf3BDy5LpUd83wPMEj Bvf1Fi5HnZtIuB2ZLDGB6MjlBYpImKbgfnWrUcuuowH9LewhT1lDj48HKk/VeRKJxzAOwpBe3jXjC 0qMV32WQ4B+AQ7n4Ugm58MjP4ccpbRHbPMsYn+JpOAVFQ0nbHzEdEDzniJV0r0NKYYU4=; 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 1oYXwS-00025N-Mm; Wed, 14 Sep 2022 21:21:04 +0200 In-Reply-To: <877d25day5.fsf@gmail.com> (Augusto Stoffel's message of "Wed, 14 Sep 2022 21:15:30 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXv4c/BtaeJgHdW UUv///8yXQ++AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YJDhMUB0+sGKIAAAGkSURBVDjLXVOLFcMg CARdAM0Cigsksv9uBVFjw2sT4/HxDgQkWPauzAIXoJgpI3aCYlv6wAKx9atH5tYqCzexVe9sgDTO 7elcxX79ynLxUzQVdw5Xy5wSM+tf/TgXQC7wb+wvZPoA8zvKnedOhUBNhukBMZkHU7jVFfWTrdLK glBj13c7I4pXiY+7vBGEZdcAnBHiuRK8iqVh80MgllVsPGlTCWU40wSS5wlSNIKm/1eIZfhApnEO 1S2xBX7aFYQly/Axf+V+H+G2OwlaLlxAdD5pSTTkmQz/0jsPTw4ZPoYzrGn9UHDEBTribWvL+Q7X 0V6smGmxul4ghUe73eaR0Iu3fp6NVI84glD7gy9j2sSCSBkk0oiqWz0HtlVY/QVvtbWW1hC4DJcK WbFOgKgeco23Z3cyx8XawNgKe2UAvnyS8qDBIi2JNJWuaaiiRUdOnBkZkRC+VnVa3EXnzC+FF692 13CfzP+7M/j3pIR2o+Zs6+CmCaRzNHbxHBIvtUuU0uwI8pxOCgQ2HhkcsI7Q8tKhhUsB624sKDek GT5AB3S8uPwAvKgswflmujsAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDktMTRUMTk6MjA6MDcr MDA6MDAoSdm6AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA5LTE0VDE5OjIwOjA3KzAwOjAwWRRh BgAAAABJRU5ErkJggg== X-Now-Playing: Jorja Smith's _Blue Note Re:imagined (1)_: "Rose Rouge" 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:242524 Archived-At: Augusto Stoffel writes: > The patch includes completion for a variety of commands (in part to test > the flexibility of the parser), including most commands from coreutils, > so it has become a bit bulky. Given the large number of new functions, > I hope the commit message is detailed enough. I've pushed the first (trivial) patch, but the second has two warnings: In pcomplete/systemctl: pcmpl-linux.el:154:12: Warning: Unused lexical variable `subcmd' In pcomplete-from-help: pcomplete.el:1344:2: Warning: docstring wider than 80 characters