unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* best practices for implementing Emms configuration
@ 2022-12-09 18:04 Yoni Rabkin
  2022-12-09 18:42 ` Akib Azmain Turja
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Yoni Rabkin @ 2022-12-09 18:04 UTC (permalink / raw)
  To: emacs-devel


Hello all,

We are trying to make Emms (https://www.gnu.org/software/emms/) better
out of the box.

The idea is to have the user invoke "M-x emms-setup", have Emms ask some
questions (check which player binaries the user has installed, which
metadata programs are installed, where the music is located, etc.), and
have Emms generate and write the appropriate elisp configuration.

I can think of two approaches. I am wondering which, if any, would be
considered best practice:

Write the configuration to the user's ~/.emacs in the same manner as "
;; custom-set-variables was added by Custom." or ";; Added by
Package.el."  I'm not a huge fan of this option for the sole reason that
I don't appreciate packages automatically editing a file I manually
edit.

XOR

Write the configuration to ~/.emacs.d/emms/auto-config.el. Emms would
then look for that configuration file there during startup. This is
cleaner, and can have the benefit of Emms being configured without a
single line needing to be added by the user to their ~/.emacs.

I know that a bunch of packages store information in ~/.emacs.d/, just
as Emms does. But is it acceptable practice to store configuration there
too?

What I'm looking for is something along the lines of: "sure, we don't
care", or "don't do that, we don't want Emacs packages to go down that
route", or something similar.

Thank you in advance.

-- 
   "Cut your own wood and it will warm you twice"



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-12-11  8:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-09 18:04 best practices for implementing Emms configuration Yoni Rabkin
2022-12-09 18:42 ` Akib Azmain Turja
2022-12-10 13:45   ` Yoni Rabkin
2022-12-10 15:46     ` Stefan Monnier
2022-12-09 19:23 ` Stefan Monnier
2022-12-09 23:46   ` Björn Bidar
2022-12-09 23:49     ` Stefan Monnier
2022-12-10 13:54   ` Yoni Rabkin
2022-12-10 14:35     ` Visuwesh
2022-12-10 14:36       ` Visuwesh
2022-12-10 17:56     ` [External] : " Drew Adams
2022-12-10 19:15     ` tomas
2022-12-10  0:10 ` Björn Bidar
2022-12-10 14:03   ` Yoni Rabkin
2022-12-11  8:02     ` Björn Bidar

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).