GNU bug report logs - #60749
[PATCH] Allow describing commands when using :bind in use-package

Previous Next

Package: emacs;

Reported by: Joel Pettersson <me <at> joelpet.se>

Date: Thu, 12 Jan 2023 08:41:02 UTC

Severity: wishlist

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Joel Pettersson <me <at> joelpet.se>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Allow describing commands when using :bind in use-package
Date: Thu, 12 Jan 2023 03:38:30 +0100
[Message part 1 (text/plain, inline)]
Hello,

I would like to be able to provide descriptions of commands in key 
bindings when using `:bind' in use-package declarations. The `bind-key' 
macro from use-package, which `:bind' entries expand to, already 
supports that; this patch contains a suggestion on how to extend that 
support to `:bind'.

Here is an example usage:

    (use-package avy
      :bind ("C-:" ("Jump to char" . avy-goto-char)
             "M-g f" ("Jump to line" . avy-goto-line)))

Best regards,
Joel
[0001-Allow-describing-commands-when-using-bind-in-use-pac.patch (text/x-patch, attachment)]

This bug report was last modified 1 year and 349 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.