GNU logs - #78125, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78125: 29.3; Obsolete text-mode-variant used  in elisp manual
Resent-From: rossboylan@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2025 02:23:02 +0000
Resent-Message-ID: <handler.78125.B.17458933819063 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 78125
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 78125 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17458933819063
          (code B ref -1); Tue, 29 Apr 2025 02:23:02 +0000
Received: (at submit) by debbugs.gnu.org; 29 Apr 2025 02:23:01 +0000
Received: from localhost ([127.0.0.1]:41919 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u9acb-0002Lz-VQ
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 22:23:01 -0400
Received: from lists.gnu.org ([2001:470:142::17]:54906)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rossboylan@HIDDEN>)
 id 1u9ZaH-0002Xp-EW
 for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 21:16:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rossboylan@HIDDEN>)
 id 1u9ZaB-0002Ds-Oi
 for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 21:16:23 -0400
Received: from shell1.rawbw.com ([198.144.192.42])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rossboylan@HIDDEN>) id 1u9Za7-0003vV-CE
 for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 21:16:23 -0400
Received: from barley3 (m128-6.dsl.rawbw.com [66.181.128.6])
 (authenticated bits=0)
 by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 53T1GFXC004873
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Mon, 28 Apr 2025 18:16:16 -0700 (PDT)
 (envelope-from rossboylan@HIDDEN)
X-Authentication-Warning: shell1.rawbw.com: Host m128-6.dsl.rawbw.com
 [66.181.128.6] claimed to be barley3
Received: from localhost ([127.0.0.1] helo=barley3)
 by barley3 with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
 (Exim 4.97) (envelope-from <rossboylan@HIDDEN>)
 id 1u9Za2-00000004lap-0Jk3; Mon, 28 Apr 2025 18:16:14 -0700
From: rossboylan@HIDDEN
Date: Mon, 28 Apr 2025 18:15:31 -0700
Message-ID: <wmb3py30.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: softfail client-ip=198.144.192.42;
 envelope-from=rossboylan@HIDDEN; helo=shell1.rawbw.com
X-Spam_score_int: -11
X-Spam_score: -1.2
X-Spam_bar: -
X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9,
 HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001,
 SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Mailman-Approved-At: Mon, 28 Apr 2025 22:22:55 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


From emacs 29.3, open the Elisp info documentation.  That
documentation says it is for emacs 29.2.  The `Example Major Modes`
includes the code `(setq-local text-mode-variant t)`.

I tried using some old code that included that command.  The result was

.emacs:39:15: Warning: =C3=A2=C2=80=C2=98text-mode-variant=C3=A2=C2=80=C2=
=99 is an obsolete variable (as of
    27.1); use =C3=A2=C2=80=C2=98derived-mode-p=C3=A2=C2=80=C2=99 instead.

So I think the example needs to be updated.

I just commented out the line.

A secondary matter: naively following the error message would result in
this code: (setq-local derived-mode-p t), which I assume is a bad idea
and probably an error.

Running Ubuntu 24.04.2.  BTW, despite what the automated report below
says, it is using Wayland, not X.

In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41,
 cairo version 1.18.0) of 2024-09-17, modified by Debian built on
 lcy02-amd64-065
Windowing system distributor 'The X.Org Foundation', version 11.0.12302006
System Description: Ubuntu 24.04.2 LTS

Configured using:
 'configure --build x86_64-linux-gnu --prefix=3D/usr
 --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
 --localstatedir=3D/var/lib --infodir=3D/usr/share/info
 --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes
 --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:=
/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share=
/emacs/site-lisp
 --with-sound=3Dalsa --without-gconf --with-mailutils
 --with-native-compilation --build x86_64-linux-gnu --prefix=3D/usr
 --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
 --localstatedir=3D/var/lib --infodir=3D/usr/share/info
 --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes
 --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:=
/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share=
/emacs/site-lisp
 --with-sound=3Dalsa --without-gconf --with-mailutils
 --with-native-compilation --with-cairo --with-x=3Dyes
 --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
 -ffile-prefix-map=3D/build/emacs-sI82Rh/emacs-29.3+1=3D. -fstack-protector=
-strong
 -fstack-clash-protection -Wformat -Werror=3Dformat-security
 -fcf-protection
 -fdebug-prefix-map=3D/build/emacs-sI82Rh/emacs-29.3+1=3D/usr/src/emacs-1:2=
9.3+1-1ubuntu2+esm1
 -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D3'
 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2
XPM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Info

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  isearch-fold-quotes-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny rfc822
mml mml-sec password-cache epa epg rfc6068 epg-config gnus-util
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils jka-compr derived display-line-numbers conf-mode pcmpl-unix
vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs
log-view easy-mmode pcvs-util vc-dir ewoc vc vc-dispatcher byte-opt
compile info shortdoc text-property-search help-fns radix-tree mule-util
apropos misearch multi-isearch time-date view dired-aux dired
dired-loaddefs sh-script smie treesit executable files-x shell pcomplete
comint ansi-osc ansi-color ring comp comp-cstr warnings subr-x rx cl-seq
cl-macs gv cl-extra help-mode bytecomp byte-compile cus-edit pp
cus-start cus-load icons wid-edit cl-loaddefs cl-lib rmc iso-transl
tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 374495 20755)
 (symbols 48 13041 0)
 (strings 32 57018 6966)
 (string-bytes 1 2151633)
 (vectors 16 32922)
 (vector-slots 8 933173 87704)
 (floats 8 184 227)
 (intervals 56 34042 0)
 (buffers 984 31))





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: rossboylan@HIDDEN
Subject: bug#78125: Acknowledgement (29.3; Obsolete text-mode-variant used
  in elisp manual)
Message-ID: <handler.78125.B.17458933819063.ack <at> debbugs.gnu.org>
References: <wmb3py30.fsf@HIDDEN>
X-Gnu-PR-Message: ack 78125
X-Gnu-PR-Package: emacs
Reply-To: 78125 <at> debbugs.gnu.org
Date: Tue, 29 Apr 2025 02:23:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 78125 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
78125: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78125
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Eli Zaretskii <eliz@HIDDEN>
Subject: bug#78125: closed (29.3; Obsolete text-mode-variant used  in
 elisp manual)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.78125.D78125.174591082730243.ackdone <at> debbugs.gnu.org>
References: <86selrphib.fsf@HIDDEN>
 <wmb3py30.fsf@HIDDEN>
X-Gnu-PR-Message: closed 78125
X-Gnu-PR-Package: emacs
Date: Tue, 29 Apr 2025 07:14:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1745910841-30381-0"

This is a multi-part message in MIME format...

------------=_1745910841-30381-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Tue, 29 Apr 2025 10:13:32 +0300
with message-id <86selrphib.fsf@HIDDEN>
and subject line Re: bug#78125: 29.3; Obsolete text-mode-variant used  in e=
lisp manual
has caused the debbugs.gnu.org bug report #78125,
regarding 29.3; Obsolete text-mode-variant used  in elisp manual
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
78125: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78125
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1745910841-30381-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 29 Apr 2025 02:23:01 +0000
Received: from localhost ([127.0.0.1]:41919 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u9acb-0002Lz-VQ
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 22:23:01 -0400
Received: from lists.gnu.org ([2001:470:142::17]:54906)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rossboylan@HIDDEN>)
 id 1u9ZaH-0002Xp-EW
 for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 21:16:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rossboylan@HIDDEN>)
 id 1u9ZaB-0002Ds-Oi
 for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 21:16:23 -0400
Received: from shell1.rawbw.com ([198.144.192.42])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rossboylan@HIDDEN>) id 1u9Za7-0003vV-CE
 for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 21:16:23 -0400
Received: from barley3 (m128-6.dsl.rawbw.com [66.181.128.6])
 (authenticated bits=0)
 by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 53T1GFXC004873
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Mon, 28 Apr 2025 18:16:16 -0700 (PDT)
 (envelope-from rossboylan@HIDDEN)
X-Authentication-Warning: shell1.rawbw.com: Host m128-6.dsl.rawbw.com
 [66.181.128.6] claimed to be barley3
Received: from localhost ([127.0.0.1] helo=barley3)
 by barley3 with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
 (Exim 4.97) (envelope-from <rossboylan@HIDDEN>)
 id 1u9Za2-00000004lap-0Jk3; Mon, 28 Apr 2025 18:16:14 -0700
From: rossboylan@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: 29.3; Obsolete text-mode-variant used  in elisp manual
Date: Mon, 28 Apr 2025 18:15:31 -0700
Message-ID: <wmb3py30.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: softfail client-ip=198.144.192.42;
 envelope-from=rossboylan@HIDDEN; helo=shell1.rawbw.com
X-Spam_score_int: -11
X-Spam_score: -1.2
X-Spam_bar: -
X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9,
 HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001,
 SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 28 Apr 2025 22:22:55 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


From emacs 29.3, open the Elisp info documentation.  That
documentation says it is for emacs 29.2.  The `Example Major Modes`
includes the code `(setq-local text-mode-variant t)`.

I tried using some old code that included that command.  The result was

.emacs:39:15: Warning: =C3=A2=C2=80=C2=98text-mode-variant=C3=A2=C2=80=C2=
=99 is an obsolete variable (as of
    27.1); use =C3=A2=C2=80=C2=98derived-mode-p=C3=A2=C2=80=C2=99 instead.

So I think the example needs to be updated.

I just commented out the line.

A secondary matter: naively following the error message would result in
this code: (setq-local derived-mode-p t), which I assume is a bad idea
and probably an error.

Running Ubuntu 24.04.2.  BTW, despite what the automated report below
says, it is using Wayland, not X.

In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41,
 cairo version 1.18.0) of 2024-09-17, modified by Debian built on
 lcy02-amd64-065
Windowing system distributor 'The X.Org Foundation', version 11.0.12302006
System Description: Ubuntu 24.04.2 LTS

Configured using:
 'configure --build x86_64-linux-gnu --prefix=3D/usr
 --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
 --localstatedir=3D/var/lib --infodir=3D/usr/share/info
 --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes
 --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:=
/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share=
/emacs/site-lisp
 --with-sound=3Dalsa --without-gconf --with-mailutils
 --with-native-compilation --build x86_64-linux-gnu --prefix=3D/usr
 --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
 --localstatedir=3D/var/lib --infodir=3D/usr/share/info
 --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes
 --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:=
/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share=
/emacs/site-lisp
 --with-sound=3Dalsa --without-gconf --with-mailutils
 --with-native-compilation --with-cairo --with-x=3Dyes
 --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
 -ffile-prefix-map=3D/build/emacs-sI82Rh/emacs-29.3+1=3D. -fstack-protector=
-strong
 -fstack-clash-protection -Wformat -Werror=3Dformat-security
 -fcf-protection
 -fdebug-prefix-map=3D/build/emacs-sI82Rh/emacs-29.3+1=3D/usr/src/emacs-1:2=
9.3+1-1ubuntu2+esm1
 -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D3'
 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2
XPM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Info

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  isearch-fold-quotes-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny rfc822
mml mml-sec password-cache epa epg rfc6068 epg-config gnus-util
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils jka-compr derived display-line-numbers conf-mode pcmpl-unix
vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs
log-view easy-mmode pcvs-util vc-dir ewoc vc vc-dispatcher byte-opt
compile info shortdoc text-property-search help-fns radix-tree mule-util
apropos misearch multi-isearch time-date view dired-aux dired
dired-loaddefs sh-script smie treesit executable files-x shell pcomplete
comint ansi-osc ansi-color ring comp comp-cstr warnings subr-x rx cl-seq
cl-macs gv cl-extra help-mode bytecomp byte-compile cus-edit pp
cus-start cus-load icons wid-edit cl-loaddefs cl-lib rmc iso-transl
tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 374495 20755)
 (symbols 48 13041 0)
 (strings 32 57018 6966)
 (string-bytes 1 2151633)
 (vectors 16 32922)
 (vector-slots 8 933173 87704)
 (floats 8 184 227)
 (intervals 56 34042 0)
 (buffers 984 31))




------------=_1745910841-30381-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 78125-done) by debbugs.gnu.org; 29 Apr 2025 07:13:47 +0000
Received: from localhost ([127.0.0.1]:46923 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u9fA3-0007rj-6U
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 03:13:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52992)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1u9f9z-0007qO-Fc
 for 78125-done <at> debbugs.gnu.org; Tue, 29 Apr 2025 03:13:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1u9f9t-0004CW-I2; Tue, 29 Apr 2025 03:13:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=19yCy20ubTkyRRF10Eb4AjfVoyibUEuiA2fQMm16gE4=; b=rgTNuJ7V4oYt16HicOyl
 qsA1fjmbXjXLs1wL2+I+krNbw/1oIy1IlCybscKCFEp4UB2a7NuGwrnkOEbYIPnWhkZJxBGd7U2DK
 RL5LdI0bnydwUFz5KVTDAAbevdFWGGsSrFwKSSwrriPho0wFau0PhcZpsjNhcg6CPFy+jJKZDdtF9
 qWyqOrLxxE7Lvp4r+86slOWibJTwC38AOqvIhjWou8taeODGntN+XNogCsnsxQI+qN8fGbawf7lja
 UfRTsOQqCJElQX+x0h/ZVC6NwdJ1Q9ASJzM5ol0iEGwL2ttm8yxktk7fufcf+Og3KgMWrYvpaa78L
 hALgzPLutZDPyw==;
Date: Tue, 29 Apr 2025 10:13:32 +0300
Message-Id: <86selrphib.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: rossboylan@HIDDEN
In-Reply-To: <wmb3py30.fsf@HIDDEN>
 (rossboylan@HIDDEN)
Subject: Re: bug#78125: 29.3; Obsolete text-mode-variant used  in elisp manual
References: <wmb3py30.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78125-done
Cc: 78125-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: rossboylan@HIDDEN
> Date: Mon, 28 Apr 2025 18:15:31 -0700
> 
> 
> >From emacs 29.3, open the Elisp info documentation.  That
> documentation says it is for emacs 29.2.  The `Example Major Modes`
> includes the code `(setq-local text-mode-variant t)`.
> 
> I tried using some old code that included that command.  The result was
> 
> .emacs:39:15: Warning: ‘text-mode-variant’ is an obsolete variable (as of
>     27.1); use ‘derived-mode-p’ instead.
> 
> So I think the example needs to be updated.

Thanks.

I updated the example on the emacs-30 branch, but note that the actual
definition of text-mode still sets that variable, since we haven't
removed it yet.

> A secondary matter: naively following the error message would result in
> this code: (setq-local derived-mode-p t), which I assume is a bad idea
> and probably an error.

Yes, you are supposed to look up the documentation of the replacement
to figure out how to use it.  I made the text of the obsolescence
message more clear in that regard.

And with that, I'm closing this bug.


------------=_1745910841-30381-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: rossboylan@HIDDEN
Subject: bug#78125: closed (Re: bug#78125: 29.3; Obsolete text-mode-variant
 used  in elisp manual)
Message-ID: <handler.78125.D78125.174591082730243.notifdone <at> debbugs.gnu.org>
References: <86selrphib.fsf@HIDDEN>
 <wmb3py30.fsf@HIDDEN>
X-Gnu-PR-Message: they-closed 78125
X-Gnu-PR-Package: emacs
Reply-To: 78125 <at> debbugs.gnu.org
Date: Tue, 29 Apr 2025 07:14:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1745910842-30381-1"

This is a multi-part message in MIME format...

------------=_1745910842-30381-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#78125: 29.3; Obsolete text-mode-variant used  in elisp manual

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 78125 <at> debbugs.gnu.org.

--=20
78125: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78125
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1745910842-30381-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 78125-done) by debbugs.gnu.org; 29 Apr 2025 07:13:47 +0000
Received: from localhost ([127.0.0.1]:46923 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u9fA3-0007rj-6U
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 03:13:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52992)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1u9f9z-0007qO-Fc
 for 78125-done <at> debbugs.gnu.org; Tue, 29 Apr 2025 03:13:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1u9f9t-0004CW-I2; Tue, 29 Apr 2025 03:13:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=19yCy20ubTkyRRF10Eb4AjfVoyibUEuiA2fQMm16gE4=; b=rgTNuJ7V4oYt16HicOyl
 qsA1fjmbXjXLs1wL2+I+krNbw/1oIy1IlCybscKCFEp4UB2a7NuGwrnkOEbYIPnWhkZJxBGd7U2DK
 RL5LdI0bnydwUFz5KVTDAAbevdFWGGsSrFwKSSwrriPho0wFau0PhcZpsjNhcg6CPFy+jJKZDdtF9
 qWyqOrLxxE7Lvp4r+86slOWibJTwC38AOqvIhjWou8taeODGntN+XNogCsnsxQI+qN8fGbawf7lja
 UfRTsOQqCJElQX+x0h/ZVC6NwdJ1Q9ASJzM5ol0iEGwL2ttm8yxktk7fufcf+Og3KgMWrYvpaa78L
 hALgzPLutZDPyw==;
Date: Tue, 29 Apr 2025 10:13:32 +0300
Message-Id: <86selrphib.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: rossboylan@HIDDEN
In-Reply-To: <wmb3py30.fsf@HIDDEN>
 (rossboylan@HIDDEN)
Subject: Re: bug#78125: 29.3; Obsolete text-mode-variant used  in elisp manual
References: <wmb3py30.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78125-done
Cc: 78125-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: rossboylan@HIDDEN
> Date: Mon, 28 Apr 2025 18:15:31 -0700
> 
> 
> >From emacs 29.3, open the Elisp info documentation.  That
> documentation says it is for emacs 29.2.  The `Example Major Modes`
> includes the code `(setq-local text-mode-variant t)`.
> 
> I tried using some old code that included that command.  The result was
> 
> .emacs:39:15: Warning: ‘text-mode-variant’ is an obsolete variable (as of
>     27.1); use ‘derived-mode-p’ instead.
> 
> So I think the example needs to be updated.

Thanks.

I updated the example on the emacs-30 branch, but note that the actual
definition of text-mode still sets that variable, since we haven't
removed it yet.

> A secondary matter: naively following the error message would result in
> this code: (setq-local derived-mode-p t), which I assume is a bad idea
> and probably an error.

Yes, you are supposed to look up the documentation of the replacement
to figure out how to use it.  I made the text of the obsolescence
message more clear in that regard.

And with that, I'm closing this bug.


------------=_1745910842-30381-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 29 Apr 2025 02:23:01 +0000
Received: from localhost ([127.0.0.1]:41919 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u9acb-0002Lz-VQ
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 22:23:01 -0400
Received: from lists.gnu.org ([2001:470:142::17]:54906)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rossboylan@HIDDEN>)
 id 1u9ZaH-0002Xp-EW
 for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 21:16:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rossboylan@HIDDEN>)
 id 1u9ZaB-0002Ds-Oi
 for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 21:16:23 -0400
Received: from shell1.rawbw.com ([198.144.192.42])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rossboylan@HIDDEN>) id 1u9Za7-0003vV-CE
 for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 21:16:23 -0400
Received: from barley3 (m128-6.dsl.rawbw.com [66.181.128.6])
 (authenticated bits=0)
 by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 53T1GFXC004873
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Mon, 28 Apr 2025 18:16:16 -0700 (PDT)
 (envelope-from rossboylan@HIDDEN)
X-Authentication-Warning: shell1.rawbw.com: Host m128-6.dsl.rawbw.com
 [66.181.128.6] claimed to be barley3
Received: from localhost ([127.0.0.1] helo=barley3)
 by barley3 with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
 (Exim 4.97) (envelope-from <rossboylan@HIDDEN>)
 id 1u9Za2-00000004lap-0Jk3; Mon, 28 Apr 2025 18:16:14 -0700
From: rossboylan@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: 29.3; Obsolete text-mode-variant used  in elisp manual
Date: Mon, 28 Apr 2025 18:15:31 -0700
Message-ID: <wmb3py30.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: softfail client-ip=198.144.192.42;
 envelope-from=rossboylan@HIDDEN; helo=shell1.rawbw.com
X-Spam_score_int: -11
X-Spam_score: -1.2
X-Spam_bar: -
X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9,
 HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001,
 SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 28 Apr 2025 22:22:55 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


From emacs 29.3, open the Elisp info documentation.  That
documentation says it is for emacs 29.2.  The `Example Major Modes`
includes the code `(setq-local text-mode-variant t)`.

I tried using some old code that included that command.  The result was

.emacs:39:15: Warning: =C3=A2=C2=80=C2=98text-mode-variant=C3=A2=C2=80=C2=
=99 is an obsolete variable (as of
    27.1); use =C3=A2=C2=80=C2=98derived-mode-p=C3=A2=C2=80=C2=99 instead.

So I think the example needs to be updated.

I just commented out the line.

A secondary matter: naively following the error message would result in
this code: (setq-local derived-mode-p t), which I assume is a bad idea
and probably an error.

Running Ubuntu 24.04.2.  BTW, despite what the automated report below
says, it is using Wayland, not X.

In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41,
 cairo version 1.18.0) of 2024-09-17, modified by Debian built on
 lcy02-amd64-065
Windowing system distributor 'The X.Org Foundation', version 11.0.12302006
System Description: Ubuntu 24.04.2 LTS

Configured using:
 'configure --build x86_64-linux-gnu --prefix=3D/usr
 --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
 --localstatedir=3D/var/lib --infodir=3D/usr/share/info
 --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes
 --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:=
/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share=
/emacs/site-lisp
 --with-sound=3Dalsa --without-gconf --with-mailutils
 --with-native-compilation --build x86_64-linux-gnu --prefix=3D/usr
 --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
 --localstatedir=3D/var/lib --infodir=3D/usr/share/info
 --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes
 --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:=
/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share=
/emacs/site-lisp
 --with-sound=3Dalsa --without-gconf --with-mailutils
 --with-native-compilation --with-cairo --with-x=3Dyes
 --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2
 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
 -ffile-prefix-map=3D/build/emacs-sI82Rh/emacs-29.3+1=3D. -fstack-protector=
-strong
 -fstack-clash-protection -Wformat -Werror=3Dformat-security
 -fcf-protection
 -fdebug-prefix-map=3D/build/emacs-sI82Rh/emacs-29.3+1=3D/usr/src/emacs-1:2=
9.3+1-1ubuntu2+esm1
 -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D3'
 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2
XPM GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Info

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  isearch-fold-quotes-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny rfc822
mml mml-sec password-cache epa epg rfc6068 epg-config gnus-util
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils jka-compr derived display-line-numbers conf-mode pcmpl-unix
vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs
log-view easy-mmode pcvs-util vc-dir ewoc vc vc-dispatcher byte-opt
compile info shortdoc text-property-search help-fns radix-tree mule-util
apropos misearch multi-isearch time-date view dired-aux dired
dired-loaddefs sh-script smie treesit executable files-x shell pcomplete
comint ansi-osc ansi-color ring comp comp-cstr warnings subr-x rx cl-seq
cl-macs gv cl-extra help-mode bytecomp byte-compile cus-edit pp
cus-start cus-load icons wid-edit cl-loaddefs cl-lib rmc iso-transl
tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 374495 20755)
 (symbols 48 13041 0)
 (strings 32 57018 6966)
 (string-bytes 1 2151633)
 (vectors 16 32922)
 (vector-slots 8 933173 87704)
 (floats 8 184 227)
 (intervals 56 34042 0)
 (buffers 984 31))




------------=_1745910842-30381-1--


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78125: 29.3; Obsolete text-mode-variant used in elisp manual
Resent-From: Ross Boylan <rossboylan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2025 17:22:02 +0000
Resent-Message-ID: <handler.78125.D78125.174594729223766 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78125
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 78125-done <at> debbugs.gnu.org
Received: via spool by 78125-done <at> debbugs.gnu.org id=D78125.174594729223766
          (code D ref 78125); Tue, 29 Apr 2025 17:22:02 +0000
Received: (at 78125-done) by debbugs.gnu.org; 29 Apr 2025 17:21:32 +0000
Received: from localhost ([127.0.0.1]:60094 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u9oeC-0006BG-1f
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 13:21:32 -0400
Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:40444)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <rossboylan@HIDDEN>)
 id 1u9oe9-0006Ac-Le
 for 78125-done <at> debbugs.gnu.org; Tue, 29 Apr 2025 13:21:30 -0400
Received: by mail-qt1-x829.google.com with SMTP id
 d75a77b69052e-479009c951cso13250171cf.1
 for <78125-done <at> debbugs.gnu.org>; Tue, 29 Apr 2025 10:21:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=stanfordalumni.org; s=google; t=1745947284; x=1746552084;
 darn=debbugs.gnu.org; 
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=lItWUeDQoBvDhgH4l9J5HqSR7Vc5gT3OyeWnabC6Ac0=;
 b=i4AGahuRfUnrkEFkuZkU4H9TRTXTZ9II8Y5zk/E4dHb8KEcfETczD301c3ESmsHD7G
 HITjFMZM14BoFIVMKBHSH2yuvKDUIRlKQ7DNXzjO8xoY+1rXkYpgGWt7Oi6UUDd6/4kW
 x9dRxMsGcFcmpdmyX3k8j5USilLk50ELntXuw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1745947284; x=1746552084;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=lItWUeDQoBvDhgH4l9J5HqSR7Vc5gT3OyeWnabC6Ac0=;
 b=JBjsN6UR+OMfNKyOJHsmxYrqrjQdCIQVPdDK1xmxSnKqBwvhxG83PpjwIYx6aP9cuL
 e7cbhVynJSIIK9DEJXhPuSTmONw6Zq4HoIv7lWdFFTZ5jcTYoem5Tv6OBbcNCJQdC1yi
 0b1q3Z1z+GE4cc9AcKCZU5fqBNdF/LNkU7N6RqdeVAFxz+E7Q6MhTtLaTpFqpyY4sYoW
 nluEZ56VfYMpqPhP8XLQH5iBTWH+n5l2sajYQsZ/9RLpIvA+x9AOKa8gaGSV25Lil34V
 ELkXuZHuWv6Zd04MLeghXwYrL9f+BNncY0SvE58unpTyqKGQiUA7AShBJ7gUav4AYOzP
 xh+w==
X-Gm-Message-State: AOJu0Yzr4mPvofPTyvZZ5A3KUOBeil95LECfvUDf7z2JLk2x76CUgHbE
 +UV53Iu+EUV5vtEy0TnRLZ8CeaMV/l4na5meBp2H9B9thwhEwC7/pnovBRz/brcwRcFn2JWHU4h
 jM/BLQFJ9S7PmfIqfL2M4eOHK6jFzHhKJqObU
X-Gm-Gg: ASbGncvTeO1Id3/chcLPrbEubECY/gTDvXm4VORB+Yj4KQWdjq9+KKAITTKzR8zApBI
 8g2vUGokAh/EWVedgQOdu1FcuWdxn9mhgv9qpVHzxGPvlf2W1VaZCJw3Sfi2fXT66lB0F0cEiR1
 D/opZSgiBGP1fdQzeChGte
X-Google-Smtp-Source: AGHT+IHojZp7Hqg7pHjCeK+Yz8XaRxVndO6wBFh7nfZiZi2Rf6bAB+LcPaAW0G5Wh9j4WaHNKYgeh7lpUN4ViCe8AcA=
X-Received: by 2002:a05:622a:178d:b0:47b:3a2:1fc6 with SMTP id
 d75a77b69052e-48864dbdcfcmr23493461cf.3.1745947283790; Tue, 29 Apr 2025
 10:21:23 -0700 (PDT)
MIME-Version: 1.0
References: <wmb3py30.fsf@HIDDEN>
 <86selrphib.fsf@HIDDEN>
In-Reply-To: <86selrphib.fsf@HIDDEN>
From: Ross Boylan <rossboylan@HIDDEN>
Date: Tue, 29 Apr 2025 10:21:12 -0700
X-Gm-Features: ATxdqUGW0UfaeJo62xU20fKHGevW0ss67sZxBvtRK5og3BKSaOxDloh8bVJCcp4
Message-ID: <CAK3NTRC=Oa+T7xue2baWC3hxecKAeT+mNvr3HS5L1U5Nq8eVVA@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Thanks, Eli!
Ross

On Tue, Apr 29, 2025 at 12:13=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote=
:
>
> > From: rossboylan@HIDDEN
> > Date: Mon, 28 Apr 2025 18:15:31 -0700
> >
> >
> > >From emacs 29.3, open the Elisp info documentation.  That
> > documentation says it is for emacs 29.2.  The `Example Major Modes`
> > includes the code `(setq-local text-mode-variant t)`.
> >
> > I tried using some old code that included that command.  The result was
> >
> > .emacs:39:15: Warning: =C3=A2=E2=82=AC=CB=9Ctext-mode-variant=C3=A2=E2=
=82=AC=E2=84=A2 is an obsolete variable (as of
> >     27.1); use =C3=A2=E2=82=AC=CB=9Cderived-mode-p=C3=A2=E2=82=AC=E2=84=
=A2 instead.
> >
> > So I think the example needs to be updated.
>
> Thanks.
>
> I updated the example on the emacs-30 branch, but note that the actual
> definition of text-mode still sets that variable, since we haven't
> removed it yet.
>
> > A secondary matter: naively following the error message would result in
> > this code: (setq-local derived-mode-p t), which I assume is a bad idea
> > and probably an error.
>
> Yes, you are supposed to look up the documentation of the replacement
> to figure out how to use it.  I made the text of the obsolescence
> message more clear in that regard.
>
> And with that, I'm closing this bug.





Last modified: Tue, 29 Apr 2025 17:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.