From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Suhail Singh Newsgroups: gmane.emacs.devel Subject: Re: Reconsider defaults for use-package-vc-prefer-newest Date: Fri, 20 Sep 2024 19:38:57 -0400 Message-ID: <87msk1520e.fsf@gmail.com> References: <87wmj7dftf.fsf@posteo.net> <87setvxyt6.fsf@gmail.com> <87jzf7o13b.fsf@posteo.net> <87msk3jr0u.fsf@gmail.com> <87setum5do.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="20708"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Suhail Singh , Martin =?utf-8?Q?Edstr=C3=B6?= =?utf-8?Q?m?= , "emacs-devel" , Tony Zorman To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 21 08:53:30 2024 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 1srtzl-0005FW-V3 for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Sep 2024 08:53:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srtz1-00057K-Io; Sat, 21 Sep 2024 02:52:43 -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 1srnDJ-0001LQ-UG for emacs-devel@gnu.org; Fri, 20 Sep 2024 19:39:02 -0400 Original-Received: from mail-qv1-xf44.google.com ([2607:f8b0:4864:20::f44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srnDI-0000re-6r for emacs-devel@gnu.org; Fri, 20 Sep 2024 19:39:01 -0400 Original-Received: by mail-qv1-xf44.google.com with SMTP id 6a1803df08f44-6c54a5fbceeso18054176d6.2 for ; Fri, 20 Sep 2024 16:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726875539; x=1727480339; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=lv2fyGYZY++7/MuoJbFdmVVdlosU9vYa9pdeQ3FHSQU=; b=Oh5PJ5iK3MQal7CjX/yho3WBXpkM0SKZ7W92CyDZFIL8pZZCfaF/5u7dXOVEJRkIPB Utqyw8iIeU2/3bJLp2mAy0oDVE/vZYXKkW23rniuZGvvwhgTMwk/igYJO251N6Ir+DL7 J9LoKvUxFKgLbmdbH9CobAAlpfG74luu0lTJG7prXYpU8+0Q28sQhNZpDRO93s7NQihC LtNn3wlOCeHTNADe0jr31aySoPxuuUMWn05vR5YO4KcGaSfUNunqlcOneZAT2htBGSNy knpqY8TSYiF6hrY9EZe54fjrPB6cY6x487Uox08EeTUzMvErOjobc8XwpsIBz3o5GFOq ixWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726875539; x=1727480339; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lv2fyGYZY++7/MuoJbFdmVVdlosU9vYa9pdeQ3FHSQU=; b=BSbZneQuV4q0OutScoeFsDhy7g9hL+fkziEFgctyPA+F0RCiqoRjZsmVHgNg7Siy36 MQqYfwltTQei8AkbO+ozMeLghGv1X5qogbgJsNY2EICIKCKtHPlLoNipkJqPYp/27vxn Tpzy4GkMfWfJ/m8fKQ5tvOkhUW29TH9j3SSeow1yRmHCxrdY/6RuMt338C+t+KUdf1LK b7ZP5fNsgQCVQwyM4ePMpNTYqgVAu1guJz6ca/oabDdE3mD54Qps946FsSBCmDbG4OGP clZzdIgEaObdFD3Oh+Y4y3wTVnvPOc+tF354zR3HWbbhtvxjs1tPLg6DL7aW2LXN+WFK uAOQ== X-Forwarded-Encrypted: i=1; AJvYcCXQImZ8sL6O64220lwYQgc2MAmnYhV41A+YXHXN8vk/+nvqdVb7rCQYMIPZYhXMURja/TgRG6zmDGxY/g==@gnu.org X-Gm-Message-State: AOJu0Yxl2uNyIc3qhzkUMdQLBGM3lRImU8jk05s+20NPJaKHV3FOphU4 k4Zg+x4VDsjkMLIQ9Oyrx+ylQ04b/FDhUIv5aGlo40Ib1vMyT0yvevTwQn96 X-Google-Smtp-Source: AGHT+IGUg17RUbfCwDeKLwHLp8TOhPLttI2QLBGiuD5KsNsrBLuqVpgnM98zLqH02vS0ZU6i4z7x/A== X-Received: by 2002:a05:6214:3118:b0:6c3:463b:e1e1 with SMTP id 6a1803df08f44-6c7bc74f18cmr71572446d6.26.1726875538615; Fri, 20 Sep 2024 16:38:58 -0700 (PDT) Original-Received: from gnus (bras-base-mtrlpq0776w-grc-23-65-94-70-53.dsl.bell.ca. [65.94.70.53]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6c75e44c0ffsm23636106d6.24.2024.09.20.16.38.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 16:38:58 -0700 (PDT) In-Reply-To: <87setum5do.fsf@posteo.net> (Philip Kaludercic's message of "Fri, 20 Sep 2024 20:34:11 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::f44; envelope-from=suhailsingh247@gmail.com; helo=mail-qv1-xf44.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 21 Sep 2024 02:52:42 -0400 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323878 Archived-At: Philip Kaludercic writes: > I wonder if indicating a "commit mismatch" for remote packages might > be interesting (we explicitly don't want this for local packages, > e.g. packages installed via package-vc). Depending on the logic of "commit mismatch" detection, that may be sufficient. Could you describe what you had in mind? > Could you perhaps elaborate on why you consider this to be a bug? To be clear I meant that it's a bug in the remote package. Specifically, in the case of julia-mode, it was a bug for it to have introduced the 0.4 package header in a commit that was different from the one that was tagged as 0.4. I don't consider this to be a bug in package.el. However, if package.el had made it obvious that the 0.4 version from melpa-stable isn't the same as the 0.4 version from nongnu, it would have saved me some headache. For my part, I know better than to take version numbers at face value now, especially when they are from different archives. >>> IIRC the commit of a VC package should appear under the commit header. >> >> That necessitates additional clicks. If those clicks or button pushes >> could be avoided it would improve user convenience. > > True, but there are many things that could be made more convenient that > only interest few people. I am trying to understand why this is > something that would interest everyone. I don't believe this would interest _everyone_. I also don't believe that that's the necessary bar for a feature. One might argue that this is too niche a feature. I don't believe so, but I also am not sure if my opinion on the matter has any significance. The people to whom this would be of interest would be users who have melpa-stable enabled and who use some packages that are available both on melpa-stable and either nongnu or gnu. > What I had in mind was using `vc-git-symbolic-commit'. So in the case > of Git: If the commit > is following the "master" branch, then it would print "master" instead > a commit hash, likewise if the package is checked out on some tag, it > could display that. At least for the scenario I am considering, symbolic names would not be very useful. Commits are useful because they are unique (more or less). -- Suhail