From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74915: [PATCH] Fix custom types of gnus-article-treat-head-custom variables Date: Mon, 16 Dec 2024 19:33:31 +0200 Message-ID: <48132.687299379$1734370474@news.gmane.org> Reply-To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30708"; mail-complaints-to="usenet@ciao.gmane.io" To: 74915@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 18:34:28 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNEzD-0007sf-K1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 18:34:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNEyy-0004f2-RE; Mon, 16 Dec 2024 12:34:13 -0500 Original-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 ) id 1tNEys-0004br-5I for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 12:34:07 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNEyp-00032s-CB for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 12:34:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=ltBD0F0wR+5EvhlTNInZCghLi1EBT8HinamXUqF7iyc=; b=OLn8vtVuZXrGE3M/3r/cr/uaD01hQ9QtChZbBnel7AmPDTP2n7VFHVRksHjO7uf4n3qMT1N2UhNKDi06R9kin6WSNRQy7HzUA3itykBfi0+QmxH7WqsUzSE3zYyDOuB+4Vnls3Vgasee0bJbXDzSpIJAJqlfYf+jRizUUzkTEh61quyNl8DhHKOvluM+0OT6yhCIf0nGPJEN4Klge0Hh4gU2kVgrrG5T5ABdLiyFvXMx4+Tca/FGzankjbyUTa84dlTO3Squ/SxpUoPLfUy5HCf3dJIIo1yx1/96gvvzP1Gvt8qqvs+bl0EmHST6WyjMLX8Ip6vmsNkfOrv06cg7+A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNEyp-0006hP-1L for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 12:34:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2024 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173437043225720 (code B ref -1); Mon, 16 Dec 2024 17:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Dec 2024 17:33:52 +0000 Original-Received: from localhost ([127.0.0.1]:55931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNEyd-0006gj-Av for submit@debbugs.gnu.org; Mon, 16 Dec 2024 12:33:52 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:35878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNEyW-0006gV-Mp for submit@debbugs.gnu.org; Mon, 16 Dec 2024 12:33:49 -0500 Original-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 ) id 1tNEyV-0004RZ-47 for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 12:33:44 -0500 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNEyR-0002zF-Ic for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 12:33:42 -0500 Original-Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49]) by thaodan.de (Postfix) with ESMTPSA id B1823D00072 for ; Mon, 16 Dec 2024 19:33:33 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1734370413; bh=ZDz1FfYMSdCju+b+VYH1x9eaE6twgI8zfvdWFAEVuTU=; h=From:To:Subject:Date; b=y2uhHK+EBnURTmP47DIFD6q7hnkvUeRksUnjm2LJW0nIzECxk5V67/9J7ohQ4ZacR vY1NN4q5XPK+BitM5Wcp7xIMeosa0DvDZrzBTMl8IrIAR+UWz1pP4r2sZUVqAW7ArL /oWKiGD7feIdIwpTK9LWoDx4uDVJp1Vv8t3kIiXLtIU03OrZ4TTskFB14nBLpT9b69 1GYlW7LwtwRkd5Dt16+58orwMza3QAmZIP3s+iTTDAhTMIN2Xr8L86985DyfRqEkso 1ZUT2aRvX4Vqkuaa5+i99J/QMOu3xeemhgraBeuG9fwBuXz5E6V3FzurTnitdYDd7r mpf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AP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=2a03:4000:4f:f15::1; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, INVALID_MSGID=0.568, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297199 Archived-At: --=-=-= Content-Type: text/plain Tags: patch Fix custom of types of Gnus-Art variables using gnus-article-treat-head-custom. In GNU Emacs 31.0.50 (build 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) Repository revision: eaf5bf736e1dd5eb977a16a3f1b3dfd3da3c4612 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101014 System Description: openSUSE Tumbleweed Configured using: 'configure --disable-build-details --without-pop --with-mailutils --without-hesiod --with-gameuser=:games --with-kerberos --with-kerberos5 --with-file-notification=inotify --with-modules --enable-autodepend --enable-link-time-optimization --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --localstatedir=/var --sharedstatedir=/var/lib --libexecdir=/usr/libexec --with-file-notification=yes --libdir=/usr/lib64 --with-native-compilation=aot --enable-locallisppath=/usr/share/emacs/31.0.50/site-lisp:/usr/share/emacs/site-lisp --with-x --with-xim --with-sound --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-dbus --with-xft --without-gpm --with-tree-sitter --with-x-toolkit=gtk --without-pgtk --with-toolkit-scroll-bars --x-includes=/usr/include --x-libraries=/usr/lib64 --with-libotf --with-m17n-flt --with-cairo --build=x86_64-suse-linux --with-dumping=pdumper build_alias=x86_64-suse-linux 'CC=sccache cc' 'CFLAGS=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -march=znver3 -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -mavx2 -msse4a -mno-fma4 -mno-xop -mfma -mbmi -mbmi2 -maes -mpclmul -mno-gfni -mvpclmulqdq -mno-3dnow -madx -mabm -mno-cldemote -mclflushopt -mclwb -mclzero -mcx16 -mno-enqcmd -mf16c -mfsgsbase -mfxsr -mno-hle -msahf -mno-lwp -mlzcnt -mmovbe -mno-movdir64b -mno-movdiri -mmwaitx -mno-pconfig -mpku -mprfchw -mno-ptwrite -mrdpid -mrdrnd -mrdseed -mno-rtm -mno-serialize -mno-sgx -msha -mshstk -mno-tbm -mno-tsxldtrk -mvaes -mno-waitpkg -mwbnoinvd -mxsave -mxsavec -mxsaveopt -mxsaves -mno-amx-tile -mno-amx-int8 -mno-amx-bf16 -mno-uintr -mno-hreset -mno-kl -mno-widekl -mno-avxvnni -mno-avxifma -mno-avxvnniint8 -mno-avxneconvert -mno-cmpccxadd -mno-amx-fp16 -mno-prefetchi -mno-raoint -mno-amx-complex --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=znver3 -fno-optimize-sibling-calls -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS -pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label -DPDMP_BASE='\''"emacs-gtk"'\''' LDFLAGS=-Wl,-O2 'CXX=sccache c++' PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Fix-custom-types-of-gnus-article-treat-head-custom-v.patch >From 2b365a8804afab600437aa9e8dba3c45ac4363fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= Date: Mon, 16 Dec 2024 19:20:00 +0200 Subject: [PATCH] Fix custom types of gnus-article-treat-head-custom variables lisp/gnus/gnus-art.el (gnus-treat-buttonize-head, gnus-treat-date) (gnus-treat-hide-headers, gnus-treat-hide-boring-headers) (gnus-treat-highlight-headers, gnus-treat-display-x-face) (gnus-treat-display-face, gnus-treat-display-face) (gnus-treat-mail-picon, gnus-treat-newsgroups-picon) (gnus-treat-from-gravatar, gnus-treat-mail-gravatar) (gnus-treat-body-boundary): Fix custom types to include all possible choices mentioned in the docstrings and manual. --- lisp/gnus/gnus-art.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 8243e4e632b..13dfb737243 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -1113,7 +1113,10 @@ gnus-article-treat-custom (defvar gnus-article-treat-head-custom '(choice (const :tag "Off" nil) - (const :tag "Header" head))) + (const :tag "Header" head) + (const :tag "First" first) + (const :tag "Last" last) + (boolean :tag "All body parts" t))) (defvar gnus-article-treat-types '("text/plain" "text/x-verbatim" "text/x-patch" "text/html") -- 2.45.2 --=-=-=--