GNU bug report logs - #77173
[PATCH] Instruct users to use customize or setopt for user options that have :set-er

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Sat, 22 Mar 2025 12:21:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Visuwesh <visuweshm <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Instruct users to use customize or setopt for user options
 that have :set-er
Date: Sat, 22 Mar 2025 17:50:31 +0530
[Message part 1 (text/plain, inline)]
Tags: patch

Seeing the discussion in bug#77157, and another recent discussion about
the same, WDYT about the attached that automatically adds the "use
setopt" filler text?

This is what doc-view-epub-font-size says with the patch applied:

    doc-view-epub-font-size is a variable defined in ‘doc-view.el’.

    Its value is nil

    Font size in points for EPUB layout.

      This variable was introduced, or its default value was changed, in
      version 29.1 of Emacs.
      You can customize this variable.
      Setting this variable directly will not usually take effect;
      use either customize or ‘setopt’, or call ‘doc-view-custom-set-epub-font-size’.

The word 'customize' in the last line is buttonised the same way as the
one in "You can customize this variable'.

[custom-set.diff (text/patch, attachment)]
[Message part 3 (text/plain, inline)]
In GNU Emacs 31.0.50 (build 39, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.2, Xaw scroll bars) of 2025-03-11 built on astatine
Repository revision: 7ba62284137ba162df16f55c75bda4d56da7dfe7
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101015
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --with-sound=alsa --with-x-toolkit=lucid --without-xaw3d
 --without-gconf --without-libsystemd --with-cairoCFLAGS=-g3'

This bug report was last modified 106 days ago.

Previous Next


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