From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#66567: [PATCH] use-package: Add ignored-files support to :vc keyword Date: Thu, 16 Nov 2023 07:32:17 +0000 Message-ID: <87msve9mri.fsf@posteo.net> References: <877cnn4z2v.fsf@hyperspace> <87ttq5u9fj.fsf@posteo.net> <87ttq5bx2y.fsf@hyperspace> <87r0l91vww.fsf@posteo.net> <87r0l9fsl1.fsf@hyperspace> <871qd91l9e.fsf@posteo.net> <87bkc59wv8.fsf@hyperspace> <87wmutfe8l.fsf@posteo.net> <87pm0hvmwj.fsf@hyperspace> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15989"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, 66567@debbugs.gnu.org To: Tony Zorman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 16 08:33:39 2023 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 1r3Wsc-0003vB-Mq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Nov 2023 08:33:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3WsH-0000D2-Fv; Thu, 16 Nov 2023 02:33:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3Ws2-0008KS-Tk for bug-gnu-emacs@gnu.org; Thu, 16 Nov 2023 02:33:06 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r3Ws2-0008Mn-LM for bug-gnu-emacs@gnu.org; Thu, 16 Nov 2023 02:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r3Ws2-0001gw-4Q for bug-gnu-emacs@gnu.org; Thu, 16 Nov 2023 02:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Nov 2023 07:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66567 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66567-submit@debbugs.gnu.org id=B66567.17001199536467 (code B ref 66567); Thu, 16 Nov 2023 07:33:02 +0000 Original-Received: (at 66567) by debbugs.gnu.org; 16 Nov 2023 07:32:33 +0000 Original-Received: from localhost ([127.0.0.1]:54418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3WrX-0001gD-4A for submit@debbugs.gnu.org; Thu, 16 Nov 2023 02:32:33 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:38867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r3WrS-0001fv-UW for 66567@debbugs.gnu.org; Thu, 16 Nov 2023 02:32:29 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2706D240108 for <66567@debbugs.gnu.org>; Thu, 16 Nov 2023 08:32:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1700119941; bh=CA1QC/TAd4lgvZ5UUr6HPNTUkJcbGw/BbhSv2FiY8i8=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=d6Jt3+mwziRl8xW1yhJ8gLk8E3U8WFCldpWRtCvIPjdNSuVGhc87U+PyCaUf+vAYR YCsdQUnPBvsnlxI7mdh93DUwxhrK1qSaXgS0U3U++RUBqy1Vj4DSF3ydeFdX7KuoEN cqZ8CYJLGHu4QsE4TF6eFOBbaKLCZS7mOifYHCHZsO0SaGFBMQ19a0AlFUMZeUGg3f CYLv8g+1Le2ENSxCK3LmFT4QsiEakstFurg6DwMCiE4QmFW3vl3AzFVx/NtBSvUtyr 5CCJkfypsWevbOgWo1vMk1J6aOAUaNrqxie8qCVf4WXmf3TKOjorYjttS9f4t4UXrw jKEfurHcqqXPw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SWBZ96RzBz9rxP; Thu, 16 Nov 2023 08:32:17 +0100 (CET) In-Reply-To: <87pm0hvmwj.fsf@hyperspace> (Tony Zorman's message of "Fri, 10 Nov 2023 13:00:12 +0100") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274441 Archived-At: Tony Zorman writes: > On Tue, Nov 07 2023 21:24, Philip Kaludercic wrote: >> Tony Zorman writes: >>> Now I'm a bit confused: where exactly? Inside of use-package or >>> package-vc? Either way, I think raising an error when the user inputs >>> nonsense is totally justified=E2=80=94I'd just like that error to be >>> understandable as quickly as possible. >> >> I was thinking that package-vc should emit an error, but that >> use-package could emit a warning, in case a new keyword is added to >> package-vc specifications but hasn't yet been added to the use-package >> layer -- mainly because I don't use the latter and am not that familiar >> with the code. > > On first thought this sounds good, but I think one would end up having > to sync the actual state of things in two places. What if package-vc.el > had a place where it stored all available commands? Then the use-package > integration could just use that. I think it would also be easier to have > this codified somewhere, rather than having to check the manual every > time. This sounds like a better solution, I can add a constant with all the symbols that you can then use. I am still a bit busy, so I cannot promise when I'll manage to do so, but I'll ping you when the changes have been pushed.