From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Philip Kaludercic <philipk@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: Infrastructure for packages to suggest customizations
Date: Mon, 15 Feb 2021 21:37:06 -0500 [thread overview]
Message-ID: <jwvim6s218x.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <877dn8bytq.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 16 Feb 2021 02:12:17 +0100")
> in the recent discussion on reserving a keymap for packages, I proposed
> extending package.el to support a sort of formal specification of what a
> user should or could customize. As there were some supportive comments,
> I attempted to improve on an earlier proof-of-concept[0], resulting in
> the attached patch.
Thanks. Could we "simply" make it a Custom group?
For keys I'd imagine something like
(defcustom avy-global-goto-key nil
:group 'suggestions
:type 'key-sequence
:options '("C-:")
:set (lambda (symbol value)
(if value (global-set-key value 'avy-goto-char))))
> Part of my intention was to generate code that can easily be changed
> and adapted by the user (unlike custom-set-variables), so I don't
> analyse the files themselves. This might not look nice in some cases,
> but then again, these people are probably not the ones using this
> feature
I don't understand what you mean to say here, sorry.
Stefan
next prev parent reply other threads:[~2021-02-16 2:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-16 1:12 Infrastructure for packages to suggest customizations Philip Kaludercic
2021-02-16 2:37 ` Stefan Monnier [this message]
2021-02-16 11:18 ` Philip Kaludercic
2021-02-16 6:09 ` Jean Louis
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=jwvim6s218x.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=philipk@posteo.net \
/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.