Farblos
2025-02-27 12:40:01 UTC
Reply
PermalinkVersion: 1.30.5
Severity: wishlist
X-Debbugs-Cc: ***@vodafonemail.de
Dear Maintainer,
thanks for so quickly fixing my previous issue #1098337, much
appreciated! Here is another one with rather low severity,
related to bug #979982. Which unfortunately waits for a
resolution for quite some time already.
Anyway, when calling Emacs in batch mode, like this:
[~]$ emacs --batch --eval '(message "foobarbaz")'
Loading /etc/emacs/site-start.d/00debian.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50bbdb3.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
foobarbaz
[~]$ emacs -q --batch --eval '(message "foobarbaz")'
Loading /etc/emacs/site-start.d/00debian.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50bbdb3.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
foobarbaz
the Debian Elisp is rather noisy. While the first couple of
messages is related to bug #979982, the last three ones could be
fixed in dictionaries-common.
Like in the following two patches:
------------------------- snip -------------------------
--- 50dictionaries-common.el.orig 2021-02-22 19:03:21.000000000 +0100
+++ 50dictionaries-common.el 2025-02-27 13:29:14.814316733 +0100
@@ -32,12 +32,12 @@
(symbol-name debian-emacs-flavor)
"/site-lisp/dictionaries-common/debian-ispell.el"))
(if (getenv "DPKG_RUNNING_VERSION")
(message "Info: Skip debian-el loading if run under dpkg control.")
(let ((coding-system-for-read 'raw-text)) ;; Read these as data streams
- (load "debian-ispell" t)
- (load debian-dict-entries t)))
+ (load "debian-ispell" t t)
+ (load debian-dict-entries t t)))
(message "Info: Package dictionaries-common removed but not purged."))))
;;; Previous code for loading ispell.el and refreshing spell-checking
;;; pulldown menus has been removed from this file since it should no
;;; longer be needed.
------------------------- snip -------------------------
------------------------- snip -------------------------
--- debian-ispell.el.orig 2025-02-19 21:32:13.000000000 +0100
+++ debian-ispell.el 2025-02-27 13:29:34.654291299 +0100
@@ -307,11 +307,11 @@
;; ---------------------------------------------------------------------------
;; Load the file containing the default value for debian-ispell-dictionary
;; ---------------------------------------------------------------------------
(if (file-exists-p "/var/cache/dictionaries-common/emacsen-ispell-default.el")
- (load "/var/cache/dictionaries-common/emacsen-ispell-default.el"))
+ (load "/var/cache/dictionaries-common/emacsen-ispell-default.el" nil t))
;;; ----------------
(defvar debian-aspell-dictionary
nil
------------------------- snip -------------------------
Thanks!
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.12-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dictionaries-common depends on:
ii debconf [debconf-2.0] 1.5.89
ii emacsen-common 3.0.5
ii libtext-iconv-perl 1.7-8+b4
dictionaries-common recommends no packages.
Versions of packages dictionaries-common suggests:
ii aspell 0.60.8.1-4
ii ispell 3.4.06-1
ii wamerican [wordlist] 2020.12.07-3
ii wngerman [wordlist] 20161207-14
-- debconf information excluded