🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Ben Finney Sun, 22 Nov 2026 01:10
Bug#1154751: Uses obsolete variable ‘web-mode-html-offset’
#5424
Author: Ben Finney
Date: Sun, 22 Nov 2026 01:10
99 lines
6969 bytes
--NHgtAfYZ+QImucbj
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: elpa-highlight-indentation
Version: 0.7.0-6
Severity: normal
Tags: upstream
Forwarded: https://github.com/antonj/Highlight-Indentation-for-Emacs/issues=
/57

Dear maintainer,

When executed in a buffer with major mode web-mode, =E2=80=98highlight-inde=
ntation=E2=80=99
aborts formatting the buffer:

    File mode specification error: (void-variable web-mode-html-offset)

This is because the variable 'web-mode-html-offset' is obsolete and no
longer defined, as of web-mode version 3.00 in 2012
<URL: https://github.com/fxbois/web-mode/commit/e72c8da9631f56583d5aa564f07=
08508663cacc2>.

In =E2=80=98highlight-mode=E2=80=99 version 0.7.0, the variable is referenc=
ed when
=E2=80=98web-mode=E2=80=99 is detected:

=3D=3D=3D=3D=3D
(defun highlight-indentation-guess-offset ()
  "Get indentation offset of current buffer"
  (cond ((and (eq major-mode 'python-mode) (boundp 'python-indent))
         python-indent)
        [=E2=80=A6]
        ((eq major-mode 'web-mode)
         web-mode-html-offset) ; other similar vars: web-mode-{css-indent,s=
cripts}-offset
        [=E2=80=A6]
=3D=3D=3D=3D=3D

=E2=80=98highlight-indentation=E2=80=99 should avoid using any obsolete var=
iables so that
it will not abort formatting any buffer.


-- System Information:
Debian Release: forky/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.3.4+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=3Den_AU.UTF-8, LC_CTYPE=3Den_AU.UTF-8 (charmap=3DUTF-8) (ignor=
ed: LC_ALL set to en_AU.UTF-8), LANGUAGE=3Den_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages elpa-highlight-indentation depends on:
ii  dh-elpa-helper  2.2.0
ii  emacsen-common  3.0.8

Versions of packages elpa-highlight-indentation recommends:
ii  emacs               1:30.2+1-11
ii  emacs-pgtk [emacs]  1:30.2+1-11

elpa-highlight-indentation suggests no packages.

-- no debconf information

--=20
 \      =E2=80=9CActually I made up the term =E2=80=9Cobject-oriented=E2=80=
=9D, and I can tell |
  `\            you I did not have C++ in mind.=E2=80=9D =E2=80=94Alan Kay,=
 creator of |
_o__)                                        Smalltalk, at OOPSLA 1997 |
Ben Finney <bignose@debian.org>
--NHgtAfYZ+QImucbj
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEXfQ3Ydd+6BMR2Ur+B+hY8vqvVjgFAmsCPvAACgkQB+hY8vqv
Vjg6iA//Z0EYqGNMUocZihTQn+HHHFMyCBjaLhx6AusfEOunabjWHb7ec4aZ3LoL
XAXeGK+vNYLV5f+s0TsmZ03eOgCV92xIBSJ9qtu+11XAqBFmftGoxRbKMDREccGD
mZYgppU2LYi1tQ0WSJZJmTVLzHNG2Y46+SOtehPeuI8hzy9CtTGcoohzrPD9G03b
Sh8Jz43UyduGUB67CSeMQeYdt/L2yUeoiOxJn3LriNmJlq4kY6PswYEtwhKZAUsp
DnJH/rzrLv2SsLIfQcUPVLEKpJuS2ypny9ns9skqLRy6kIlcFKVBZTn3WuW731Z9
7axw0pJg61+gzjUuT4vgMCKVWxlXsF8XlgGhHucFqeprQsAPYfIM36oI4WsEnRFX
x2GFXbGU89aCxWZjx4pV85bFKtpjzNWJ123D6Vc1SUI7i0rxqKVVZUXQCJOwTxTL
nOmFnuKf2Q+L52j50s7GkTv1X9gq0xdv30X1Mq9h4tpRKc2vlrZzPJCmExqigc5T
k9YjO26mOOE0aWBTSAmmleXSozu4UhwwHvZqehKtXZNwy52eu4veJ1zo1zZRtEJE
ZQjsnTH0RQE/DC26AMVEq/odly0rpIYMWWdC91bZUdpDaB61oylSFNvea2GrPG0n
161QJJxigxz0nD0WK25Ev6x9TPsKZebu/INQhZQPTCNt6/lltyQ=
=l9Bu
-----END PGP SIGNATURE-----

--NHgtAfYZ+QImucbj--
Bug#1154751: Uses obsolete variable ‘web-mode-html-offset’
#5426
Author: Ben Finney
Date: Sun, 22 Nov 2026 02:00
45 lines
5506 bytes
--w6ouTHCz8Iq4HVN/
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Control: tags -1 + patch

On 22-Nov-2026, Ben Finney wrote:
> =E2=80=98highlight-indentation=E2=80=99 should avoid using any obsolete v=
ariables so that
> it will not abort formatting any buffer.

I have created a Debian packaging patch to address this, in merge request
<URL: https://salsa.debian.org/emacsen-team/emacs-highlight-indentation/-/m=
erge_requests/3>.

--=20
 \       =E2=80=9CFree thought is a necessary, but not a sufficient, condit=
ion |
  `\                                       for democracy.=E2=80=9D =E2=80=
=94Carl Sagan |
_o__)                                                                  |
Ben Finney <bignose@debian.org>

--w6ouTHCz8Iq4HVN/
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEXfQ3Ydd+6BMR2Ur+B+hY8vqvVjgFAmsCSQ4ACgkQB+hY8vqv
VjidJw/9FzWpev/9/cVG2j99v0ZOLTpWXez16BhWcW0iBi3kuJKgKN6lIIdvMTi1
y8kt4eJ4UBcAzpaafs1MXMfO9F5fF0UtACqBmEl+YxUlrF4aSb7pSYTZSBoVpCyo
WdBM0zei5FYLHF/He/t27KVTZ8EXVwY57VvtZLs4CNQ5bSSumAITjOEbsFCxsi8o
JoUme9lZAp/Rok+sNCkcKmG3hHieDFHojaIkV5wY14/KJqfNfC/hikC+a6XgUTZf
0KNfkuTJU80gTDYa2Jd7pC2vu/f+DOOYOcksHSyRCe9jYiqQZnSup57LB5dujCLR
NJlxeQXR3MPM2NIwmABQ8Hzp4RLPcrVd/hlIm8s3x6ePCefgi6zqyvVwcISdjx/D
0zNSGW8RF8dzrL8JWkshkA1ljktyvx/qn13hrgJXhVATgnKTfq68783jpEOg2JdA
6pvx+HurFAz8oOD1fgJ1qg50+TjAmmx3dvfXy1/0Y/naLRTjaN5DmtaKBOtAs9Zg
lUU2SI+q9OyDRt0wLCMsDjJq2dQQWXs4E/cDOfHHWpJNh3nvXLW0H0WQB6N34ZDm
s8WN9k0pWQk/eR5Q6h0BVSJEeUn/3FtIWElINkDRUe1ctyxUv8tcu3kcao02TbAj
dMw3iUap7+pyTTW0D1ExAF9FdU6rGLWNGO0AI5Z08JBmSg5vIRA=
=RKEf
-----END PGP SIGNATURE-----

--w6ouTHCz8Iq4HVN/--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads