From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Felician Nemeth Newsgroups: gmane.emacs.bugs Subject: bug#60418: [PATCH] Add :vc keyword to use-package Date: Sat, 08 Apr 2023 10:48:16 +0200 Message-ID: <871qku220f.fsf@betli.tmit.bme.hu> References: <87zgb6uk2r.fsf@hyperspace> <87tu0tl1s4.fsf@hyperspace> <87a5zt2emd.fsf@betli.tmit.bme.hu> <87fs9l9bim.fsf@posteo.net> <87y1n3zsro.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25336"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Tony Zorman , 60418@debbugs.gnu.org, stefankangas@gmail.com To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 08 10:49:42 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 1pl4GU-0006QX-56 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Apr 2023 10:49:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pl4Ft-0005Y5-3D; Sat, 08 Apr 2023 04:49:05 -0400 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 1pl4Fr-0005Xb-Bp for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 04:49:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pl4Fq-0003js-QA for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 04:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pl4Fq-0004iz-86 for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 04:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Felician Nemeth Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Apr 2023 08:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60418 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60418-submit@debbugs.gnu.org id=B60418.168094370618095 (code B ref 60418); Sat, 08 Apr 2023 08:49:02 +0000 Original-Received: (at 60418) by debbugs.gnu.org; 8 Apr 2023 08:48:26 +0000 Original-Received: from localhost ([127.0.0.1]:57683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pl4FF-0004hl-Uh for submit@debbugs.gnu.org; Sat, 08 Apr 2023 04:48:26 -0400 Original-Received: from mail-ej1-f45.google.com ([209.85.218.45]:45610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pl4FD-0004h2-Jj for 60418@debbugs.gnu.org; Sat, 08 Apr 2023 04:48:24 -0400 Original-Received: by mail-ej1-f45.google.com with SMTP id gb34so1936900ejc.12 for <60418@debbugs.gnu.org>; Sat, 08 Apr 2023 01:48:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680943698; x=1683535698; h=mime-version:face:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=nA6t+/JTIHCHAcsFE0TqzWhamYhAEBXWRRGPuVeR5O4=; b=hBrS1cxW2xmPJzbDejB5nEJdHeXGOpTDB2dk2r0HLELQ72JK/BtNjXvt3wBZlIhtn3 Qyycpil0RKtXdl7OczNjyyPSrdM8nln7IL2wBvATs2FbWq4zOxMt/f1q3VHeJJLEkPmF JdUticMTh2unKQOA2FlTFC+2GMQ4e8o5MM4D8xwxRtMZXZKxgDWzNjGo8oJk1BnNBppt QtQqwPWaft2YqqEFVr+5Bz+zx1QwSItADNjms3ZOmbsIWSFvGny2jOILR3tB3dakM2oQ KdClrLPZ0rzB40lyNHcCr4ZNFNm7uBQtIbSEt82vVu6uw8V1Su3lyLz/OcXF0hNFLW89 UUEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680943698; x=1683535698; h=mime-version:face:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nA6t+/JTIHCHAcsFE0TqzWhamYhAEBXWRRGPuVeR5O4=; b=yf0Z9txKhQmlua7vdFjJDNvElbxJnxoe17ejehpnycHmu+uo9PBdlJEKxVXyfhEt6N aVASsU7A5I4IEhorqtW1QrnXM6UV7jbeamYdLNn4vHr9Nhusbchh88ZWaHEMf+23xerC DfRtWF2O/LGrqZgs1kEDe0dAlzDhcrDYhf9UGNa0oUncqt5qroI7YchwjqrQiAyCuyLj GdajNrNmR24Eu6nJVnPIgu9bbevqIF4JZ4ESWU5fu7F4fitXvwla74Rcqh3fWMkpG+Su RB2CfuT/Noyqa/tNT/E+NKZOqVrKgY3h1+THZVdgYfda02ItddaGYI+35JsZbb0Tey6y vXBA== X-Gm-Message-State: AAQBX9cBvC4eG/bWY7YnsnbgxzsKxPo5c7coOn4GFoZhO23oLy7ZDZhb 3kaRw79x+8pMXao0cUxYQQg= X-Google-Smtp-Source: AKy350Z4HXpAsFDJf4qmThvwZ1h/kfzWEsHXUpJQ09ZR6FtsfofSmU09QNDrs07fokY+SsxLo9BP2Q== X-Received: by 2002:a17:906:f296:b0:92f:7c42:8631 with SMTP id gu22-20020a170906f29600b0092f7c428631mr1889297ejb.16.1680943697679; Sat, 08 Apr 2023 01:48:17 -0700 (PDT) Original-Received: from betli.gmail.com (catv-86-101-66-128.catv.fixed.vodafone.hu. [86.101.66.128]) by smtp.gmail.com with ESMTPSA id t6-20020a05640203c600b004fb30fc1dabsm2591462edw.96.2023.04.08.01.48.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 01:48:17 -0700 (PDT) In-Reply-To: <87y1n3zsro.fsf@posteo.net> (Philip Kaludercic's message of "Fri, 07 Apr 2023 14:11:39 +0000") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUMBwgHAgMFAAGPjY7/ //80MDHq6eqJt3pKAAABr0lEQVQ4jX2UzZKDIAzHqR177q7TPbtx2HMr6guQcrbY9txZ0fd/hA0f onXazcEJ/CD8E4Js8/HS9mwjXtqeMRxHXJkakTEm4b4GPVQW8PU8ov4fQCqeThlF60MBWdo1IXzd 2nEEZE7CEAZLwI0N/gJAhTj7ESQAX4gPgO8lyI+cvgViSVPlNomAj2M9gW40eg7VWY3cATjUcyiO Z+i03cFruGLYoUR7VyU3HihdmCEVhoDN65FXkpbSxkomOzsTQN/gySaodGb9Gdi1oSRXP46gdBWh LcUKJNdeGCWac74GKakmne0aHCFvyqJPYLsCFAVlhRTvGdzMdLHqtgRyUulyXIAH7CYQ3AB0Nody JQhAkq/qtOnbjhxdzYDkXPxlH5y4WdUAeUcX1NVJ6GR7UQEYPGWoAnA36OQNn5lRRp38vHTAp9Br LoTmvlPPDoRCKzpjG1SXT89AaT5l456BamJuMcs+NIOMzJ/s5dI6yUVcrARlruwOebfdv6gunTn4 ww3+QjGBEn5suVyLHoSGvAqREuDLN+iqZ+VcFg+HBbsJUU9+FZthbez9T+bdb+kPv2Ls6ct3hTkA AAAASUVORK5CYII= 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:259457 Archived-At: >>>> One has to keep in mind that by default you will be checking out the tip >>>> of the default development branch. [...] >>> Maybe use-package's package-vc integration should use more sensible >>> defaults then? But if people don't like this feature, I personally >>> won't press the issue further. >> >> I am afraid I don't know what you mean by more sensible? My central >> point is that I wouldn't want to encourage people to download packages >> using package-vc by default. The integration of package-vc with use-package makes a bit easier what's already possible. One possible way to mitigate the problem of running instable code is to check out the commit with the latest tag. (I don't know how feasible is to implement this.) Alternatively, use-package cloud refuse a :vc keyword if an additional :i-know-this-is-in-development-code keyword was not set.