From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tony Zorman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66567: [PATCH] use-package: Add ignored-files support to :vc keyword Date: Fri, 10 Nov 2023 13:00:12 +0100 Message-ID: <87pm0hvmwj.fsf@hyperspace> 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> Reply-To: Tony Zorman 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="33853"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, 66567@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 10 13:01:44 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 1r1QCm-0008bH-4t for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Nov 2023 13:01:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r1QCU-0006iQ-JV; Fri, 10 Nov 2023 07:01:26 -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 1r1QCS-0006hV-Kh for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2023 07:01:24 -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 1r1QCR-00058B-26 for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2023 07:01:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r1QD4-0007PS-Mq for bug-gnu-emacs@gnu.org; Fri, 10 Nov 2023 07:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tony Zorman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Nov 2023 12:02: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.169961766828408 (code B ref 66567); Fri, 10 Nov 2023 12:02:02 +0000 Original-Received: (at 66567) by debbugs.gnu.org; 10 Nov 2023 12:01:08 +0000 Original-Received: from localhost ([127.0.0.1]:49642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1QCC-0007O8-0Q for submit@debbugs.gnu.org; Fri, 10 Nov 2023 07:01:08 -0500 Original-Received: from mout-p-101.mailbox.org ([80.241.56.151]:47354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r1QC6-0007NR-CW for 66567@debbugs.gnu.org; Fri, 10 Nov 2023 07:01:06 -0500 Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4SRcp56MF0z9sq4; Fri, 10 Nov 2023 13:00:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1699617613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P/tWR+GCueVhZCmsGMYwKBIuQ28a0KAWQva4i8wrFxo=; b=rDLP9rKxFQXZSZHforMxttkyDct/jascUFv/aR70VxIPBDxcR5liS3TZsrOy9BYQD1Q7Ee XN8CJzYLXyBlT5N+4pNHfLt4d2SvqDvKks+mYxiLIoMN34g2X6a8qvcJT9kX/5AfZjJZiv bZdMGJ0EToFfI//bWsFO/++Db0QhGNbUiXBn+joByUY7Hq/u5kXul5/z4f0VXsW9Trhpkq JPQNi57JE9dNdUJUq6u+mo4WOzvdTSXSaKV0oTidfyymNjhgbsiUAjp0hEUTUhuYxhBPPb 2NaFYnJTYDKc8H0p+fyhqz8xK6ezPymMjraH6Hum5XSDS684p4iOTplev9Ra7g== In-Reply-To: <87wmutfe8l.fsf@posteo.net> X-MBO-RS-ID: eaccbfcce40e9a64d64 X-MBO-RS-META: ch5qkugejaccpwf6r4c9t3ctunms4uy3 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:274106 Archived-At: 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. --=20 Tony Zorman | https://tony-zorman.com/