Package: emacs-goodies-el
Version: 42.5
Severity: wishlist

Hi,

I would like to propose adding a new metapackage to recommend/suggest
useful editing modes (currently named "emacs-editing-modes"), such as
programming modes, configuration file modes, etc.  It would be great if
Debian can provide a way to make Emacs work OOTB for editing programming
language source files and configuration files.  There are many modes
available, but managing them can be cumbersome as there are a lot.
Using a metapackage with recommends IMHO provides a means to let a user
install many useful modes with one package name while providing some
flexibility to choose which ones they need or not (e.g. in aptitude.)

I have prepare a MR[1] and the patches are attached.  PTAL.  TIA!

-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-25-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

[1] https://salsa.debian.org/emacsen-team/emacs-goodies-el/-/merge_requests/4

-- 
Xiyue Deng

>From 0d4aa7aa5c7e756d079fd49a9d073c8099645de1 Mon Sep 17 00:00:00 2001
From: Xiyue Deng <manp...@gmail.com>
Date: Mon, 30 Sep 2024 23:45:29 -0700
Subject: [PATCH] Add emacs-editing-modes metapackage for editing modes

* Recommends more well-known editing modes.
* Suggests lesser-known ones.
---
 debian/control | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/debian/control b/debian/control
index 1d3f97f..d471a4b 100644
--- a/debian/control
+++ b/debian/control
@@ -41,3 +41,55 @@ Description: Miscellaneous add-ons for Emacs
  .
  See /usr/share/doc/emacs-goodies-el/README.Debian.gz for a discussion
  of the disposition of previously bundled add-ons.
+
+Package: emacs-editing-modes
+Architecture: all
+Depends: ${misc:Depends}
+Recommends:
+ elpa-apache-mode,
+ elpa-bazel-mode,
+ elpa-bison-mode,
+ elpa-bpftrace-mode,
+ elpa-caml,
+ elpa-clojure-mode,
+ elpa-cmake-mode,
+ elpa-csv-mode,
+ elpa-dart-mode,
+ elpa-dockerfile-mode,
+ elpa-gnuplot-mode,
+ elpa-go-mode,
+ elpa-graphviz-dot-mode,
+ elpa-haskell-mode,
+ elpa-jinja2-mode,
+ elpa-js2-mode,
+ elpa-kotlin-mode,
+ elpa-lua-mode,
+ elpa-markdown-mode,
+ elpa-matlab-mode,
+ elpa-meson-mode,
+ elpa-nginx-mode,
+ elpa-php-mode,
+ elpa-protobuf-mode,
+ elpa-racket-mode,
+ elpa-rust-mode,
+ elpa-scala-mode,
+ elpa-sml-mode,
+ elpa-systemd,
+ elpa-vala-mode,
+ elpa-web-mode,
+ elpa-yaml-mode,
+Suggests:
+ elpa-ats2-mode,
+ elpa-elm-mode,
+ elpa-fountain-mode,
+ elpa-inform-mode,
+ elpa-kivy-mode,
+ elpa-pip-requirements,
+ elpa-puppet-mode,
+ elpa-qml-mode,
+ elpa-rainbow-mode,
+Description: Miscellaneous editing modes for Emacs
+ This is a metapackage that recommends or suggests various useful
+ Emacs editing modes including many programming modes, configuration
+ file modes, etc.  The more well-known modes are recommended, and the
+ lesser known ones are suggested.
-- 
2.45.2

Reply via email to