Article View: linux.debian.bugs.dist
Article #5424Bug#1154751: Uses obsolete variable ‘web-mode-html-offset’
From: Ben Finney
Date: Sun, 22 Nov 2026 01:10
Date: Sun, 22 Nov 2026 01:10
99 lines
6969 bytes
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--
Technical Details
Message-ID:
<O24fF-dnbS-45@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Ben Finney <bignose@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.maint.emacsen
Subject: Bug#1154751: Uses obsolete variable ‘web-mode-html-offset’
Date: Sun, 22 Nov 2026 02:10:03 +0100
Message-ID: <O24fF-dnbS-45@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Nov 22 01:03:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Ben Finney <bignose@debian.org>, 1154751@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-emacsen@lists.debian.org
X-Debian-Pr-Message: report 1154751
X-Debian-Pr-Package: elpa-highlight-indentation
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: emacs-highlight-indentation
X-Me-Sender: <xms:9j4Ca_Wf1zALYfZDhrnfYZpn-ikJpOLNwMyZsi-VpssANxrE3uGQTA>
<xme:9j4Ca9nY9Em234-_rVGsUL-r5HVr4drr_psuJBOJAfmWpo_hIp4vLC38NIqPsAuzw
DYeQe-D7LbeIpEab6_TpxNRmb9dCT4AZcDo1NJocP6WGf0hfD5VQF0>
X-Me-Received: <xmr:9j4Ca5BAaMKvx_Z1Dz_MO88ZjbCECVNeLQpRA64tgJ4KDyi2e-S47fFnJ6Yh>
X-Me-Proxy-Cause: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ILYS>
Feedback-ID: i8f8042cb:Fastmail
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature"; boundary="NHgtAfYZ+QImucbj"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0+nmu1
Openpgp: id=B8B24C06AC128405;url="https://www.benfinney.id.au/contact/bfinney-pubkey.asc";preference=sign
X-Openpgp-Public-Key-ID: 0xB8B24C06AC128405
X-Openpgp-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06
AC12 8405
X-Openpgp-Public-Key-URL: https://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003998
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 99
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 22 Nov 2026 12:01:36 +1100
X-Original-Message-ID: <awI-8AfjZI8HSk_q@benfinney.id.au>