Package: emacs-gtk
Version: 1:30.2+1-3
Severity: normal

Without -q, emacs can enter po mode (provided by gettext-el), but
when -q is used, it does not. This is not consistent. The -q option
is described as follows:

    -q, --no-init-file
          Do not load an init file.

but this does not affect the loading of "site-start.el".

As a comparison, diff mode can be entered whether -q is used or not.

I can see that with -q, auto-mode-alist does not contain the config
for .po files that is defined in
  /usr/share/emacs/site-lisp/elpa-src/po-mode-0.26/po-mode-autoloads.el
namely:

 (add-to-list 'auto-mode-alist '("\\.po[tx]?\\'\\|\\.po\\." . po-mode))

Note: tests done without a .emacs file.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), 
(500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.4+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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

Versions of packages emacs-gtk depends on:
ii  emacs-bin-common     1:30.2+1-3
ii  emacs-common         1:30.2+1-3
ii  libacl1              2.3.2-3
ii  libasound2t64        1.2.15.3-1
ii  libattr1             1:2.5.2-4
ii  libc6                2.42-16
ii  libcairo2            1.18.4-3
ii  libdbus-1-3          1.16.2-5
ii  libfontconfig1       2.17.1-5
ii  libfreetype6         2.14.3+dfsg-1
ii  libgccjit0           14.3.0-14
ii  libgdk-pixbuf-2.0-0  2.44.6+dfsg-2
ii  libgif7              5.2.2-1+b1
ii  libglib2.0-0t64      2.88.1-2
ii  libgmp10             2:6.3.0+dfsg-5
ii  libgnutls30t64       3.8.13-1
ii  libgpm2              1.20.7-12
ii  libgtk-3-0t64        3.24.52-1
ii  libharfbuzz0b        12.3.2-2+b2
ii  libice6              2:1.1.1-1
ii  libjpeg62-turbo      1:3.1.3-4
ii  liblcms2-2           2.19.1-1
ii  libm17n-0            1.8.6-1
ii  libotf1              0.9.16-4+b2
ii  libpango-1.0-0       1.57.1-2
ii  libpng16-16t64       1.6.58-1
ii  librsvg2-2           2.62.1+dfsg-1
ii  libselinux1          3.10-1
ii  libsm6               2:1.2.6-1
ii  libsqlite3-0         3.46.1-9+b1
ii  libsystemd0          260.1-1
ii  libtiff6             4.7.1-2
ii  libtinfo6            6.6+20251231-1
ii  libtree-sitter0.25   0.25.9-7+b1
ii  libwebpdecoder3      1.5.0-0.1
ii  libwebpdemux2        1.5.0-0.1
ii  libx11-6             2:1.8.12-1
ii  libxcomposite1       1:0.4.6-1
ii  libxext6             2:1.3.4-1+b3
ii  libxfixes3           1:6.0.0-2+b4
ii  libxi6               2:1.8.2-2
ii  libxinerama1         2:1.1.4-3+b4
ii  libxml2-16           2.15.2+dfsg-0.1
ii  libxrandr2           2:1.5.4-1+b3
ii  libxrender1          1:0.9.12-1
ii  zlib1g               1:1.3.dfsg+really1.3.2-3

Versions of packages emacs-gtk recommends:
ii  fonts-noto-color-emoji  2.051-1

Versions of packages emacs-gtk suggests:
ii  emacs-common-non-dfsg      1:30.2+1-1
pn  emacs-editing-major-modes  <none>

-- no debconf information

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to