all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Przemysław Kryger" <pkryger@gmail.com>
To: 76065@debbugs.gnu.org
Subject: bug#76065: 31.0.50; When package is installed with 'package-vc-install' it has default summary
Date: Thu, 06 Feb 2025 16:07:32 +0000	[thread overview]
Message-ID: <m2ed0buke3.fsf@gmail.com> (raw)
In-Reply-To: <34gt4lbs.fsf@gmail.com>


For what it's worth, I can force VC installed packages descriptions to
be generated with the following workaround:

(defun pk/package-vc-erase-summary (args)
  "Set summary slot in (car ARGS) to nil."
  (when-let* ((pkg-desc (car args))
              ((package-desc-p pkg-desc))
              ((equal package--default-summary (oref pkg-desc summary))))
    (oset pkg-desc summary nil))
  args)

(with-eval-after-load 'package-vc
  (advice-add 'package-vc--generate-description-file
              :filter-args #'pk/package-vc-erase-summary))





  reply	other threads:[~2025-02-06 16:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-04 18:27 bug#76065: 31.0.50; When package is installed with 'package-vc-install' it has default summary Przemyslaw Kryger
2025-02-06 16:07 ` Przemysław Kryger [this message]
2025-02-22  9:14 ` Eli Zaretskii
2025-02-22 10:57 ` Philip Kaludercic
2025-02-22 11:22 ` Przemysław Kryger
2025-02-22 15:02   ` Philip Kaludercic
2025-02-22 15:07     ` Philip Kaludercic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ed0buke3.fsf@gmail.com \
    --to=pkryger@gmail.com \
    --cc=76065@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.