From unknown Fri Jun 20 05:23:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#73815 <73815@debbugs.gnu.org> To: bug#73815 <73815@debbugs.gnu.org> Subject: Status: 29.4; message-narrow-to-headers-or-head is void in mml-to-mime Reply-To: bug#73815 <73815@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:23:35 +0000 retitle 73815 29.4; message-narrow-to-headers-or-head is void in mml-to-mime reassign 73815 emacs submitter 73815 G=C3=B6ran Uddeborg severity 73815 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 15 05:22:34 2024 Received: (at submit) by debbugs.gnu.org; 15 Oct 2024 09:22:35 +0000 Received: from localhost ([127.0.0.1]:54107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0dlC-00087v-93 for submit@debbugs.gnu.org; Tue, 15 Oct 2024 05:22:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:43544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0dlA-00087m-BL for submit@debbugs.gnu.org; Tue, 15 Oct 2024 05:22:33 -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 ) id 1t0dkr-0000Ly-O6 for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2024 05:22:14 -0400 Received: from mimmi.uddeborg.se ([62.65.125.225]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0dkp-00049W-A0 for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2024 05:22:13 -0400 Received: from mimmi.uddeborg (localhost [127.0.0.1]) by mimmi.uddeborg.se (8.17.1/8.17.1) with ESMTPS id 49F9M47m1743811 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 15 Oct 2024 11:22:04 +0200 DKIM-Filter: OpenDKIM Filter v2.11.0 mimmi.uddeborg.se 49F9M47m1743811 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uddeborg.se; s=default; t=1728984124; r=y; bh=OdpG7yyzTDEQA4lrfFltzgOKsNLYjmM8d/gpSf5cbKw=; h=From:To:Subject:Date:From; b=VbZN0oDf57XC3iA04JOC8pHOr9lfDc5NKSAViOHp+p2cgdP3O1I6UiknPPhsUpm+G W+LKtryxx1NoJ6HAytbKo2mmCbMj+UW2Vk6KtYl8JqYdN9WL7Kk4zhG3XQmVOaLz8J BoVVKM1yzp3pd00YIFnxZDK+ptyM8bS2365mXFaQ= Received: (from goeran@localhost) by mimmi.uddeborg (8.17.1/8.17.1/Submit) id 49F9M4Gs1743810; Tue, 15 Oct 2024 11:22:04 +0200 X-Authentication-Warning: mimmi.uddeborg: goeran set sender to goeran@uddeborg.se using -f From: =?utf-8?Q?G=C3=B6ran_Uddeborg?= To: bug-gnu-emacs@gnu.org Subject: 29.4; message-narrow-to-headers-or-head is void in mml-to-mime Date: Tue, 15 Oct 2024 11:22:04 +0200 Message-ID: <84sesx201v.fsf@uddeborg.se> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=62.65.125.225; envelope-from=goeran@uddeborg.se; helo=mimmi.uddeborg.se X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable While working on debugging the VM package, I hit what I believe is a bug in Emacs itself. To reproduce the problem, run the following steps. 1. emacs -Q 2. C-x b a 3. C-x i b u g b r e v 4. M-x m a i l - s e n d I attach the "bugbrev" file used above. (It is a very stripped down version of a spam I got and tried to forward to Spamcop.) What happens is I get the error message mml-to-mime: Symbol=E2=80=99s function definition is void: message-narrow= -to-headers-or-head My elisp skills are quite limited, but from what I understand, this is triggered by the very long line in the forwarded message, which causes mail-send to call mml-to-mime. The latter calls message-narrow-to-headers-or-head but that is not available in this situation. Shoudn't there be an autoload of that function too? (autoload 'message-narrow-to-headers-or-head "message") --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=bugbrev Content-Transfer-Encoding: base64 Content-Description: Message triggering the bug TUlNRS1WZXJzaW9uOiAxLjAKQ29udGVudC1UeXBlOiBtZXNzYWdlL3JmYzgyMgpDb250ZW50LURl c2NyaXB0aW9uOiBmb3J3YXJkZWQgbWVzc2FnZQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiA3 Yml0Ck1lc3NhZ2UtSUQ6IDwyNjM4Mi4xMDExOS45MzgyMjguODQ3NTQ0QGdhcmdsZS5nYXJnbGUu SE9XTD4KRGF0ZTogVHVlLCAxNSBPY3QgMjAyNCAxMDoyNzo1MSArMDIwMApUbzogZwpTdWJqZWN0 OiBmb3J3YXJkZWQgbWVzc2FnZSBmcm9tIHFhdGFyIHFhdGFyClgtTWFpbGVyOiBWTSA4LjMueCB1 bmRlciAyOS40ICh4ODZfNjQtcmVkaGF0LWxpbnV4LWdudSkKLS10ZXh0IGZvbGx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E5MzM1MDIuMTcyMjU3 NTQ0NjQ4MUBtYWlsLnlhaG9vLmNvbT4gPDEzNTk1MDk1MDQuMTkzNTM4NS4xNzIyNTc1NDU2NDM0 QG1haWwueWFob28uY29tPiA8MTgwNDU3MTIxNy4xMDAxNTQxLjE3MjI1NzU0NjA0NjFAbWFpbC55 YWhvby5jb20+IDwxNjY0NzUzMzg1LjE5MzI1NjQuMTcyMjU3NTQ2NTAzOUBtYWlsLnlhaG9vLmNv bT4gPDY4NjI0OTIxMy4xOTM2OTg1LjE3MjI1NzU0NzAxMzFAbWFpbC55YWhvby5jb20+CkZyb206 IHFhdGFyIHFhdGFyIDxxYXRhcjg3MTQwNjZAeWFob28uY29tPgpUbzogImdvZXJhbkB1ZGRlYm9y Zy5zZSIgPGdvZXJhbkB1ZGRlYm9yZy5zZT4KCkFwYQo= --=-=-= Content-Type: text/plain In GNU Emacs 29.4 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.0) of 2024-10-10 built on 4825182c94fc4195b65c80c30f523a16 System Description: Fedora Linux 41 (Forty One Prerelease) Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-cairo --with-dbus --with-gif --with-gpm=no --with-harfbuzz --with-jpeg --with-json --with-modules --with-native-compilation=aot --with-pgtk --with-png --with-rsvg --with-sqlite3 --with-tiff --with-tree-sitter --with-webp --with-xpm build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu CC=gcc 'CFLAGS=-DMAIL_USE_LOCKF -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig CXX=g++ 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: sv_SE.utf8 locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect: shell-dirtrack-mode: t server-mode: t which-function-mode: t global-auto-complete-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t isearch-fold-quotes-mode: t global-font-lock-mode: t font-lock-mode: t buffer-read-only: t column-number-mode: 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 temp-buffer-resize-mode: t Load-path shadows: /usr/share/emacs/site-lisp/goodies/emacs-goodies-loaddefs hides /usr/share/emacs/site-lisp/site-start.d/emacs-goodies-loaddefs Features: (shadow sort mail-extr emacsbug shortdoc help-fns radix-tree shell pcomplete files-x grep dired-aux misearch multi-isearch mule-util info cus-start cus-load vm-digest message yank-media gmm-utils mailheader mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode flyspell ispell pp mailalias w3m-cookie textsec uni-scripts mail-parse rfc2231 idna-mapping ucs-normalize uni-confusable textsec-check rfc822 longlines w3m-form w3m-symbol w3m-bookmark vm-w3m w3m doc-view filenotify jka-compr image-mode dired dired-loaddefs exif w3m-hist bookmark-w3m w3m-ems w3m-favicon w3m-image w3m-fb tab-line w3m-proc w3m-util vm-save qp vm-pgg pgg pgg-parse pgg-def vm-rfaddons wid-edit vm-pine vm-edit vm-imap utf7 vm-virtual vm-page vm-pop vm-crypto vm-delete vm-sort vm-motion vm-minibuf vm-mouse vm-menu vm-mime smime gnutls puny dig sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vm-reply vm-undo vm-summary vm-summary-faces vm-avirtual bbdb-com crm mailabbrev bbdb bbdb-site timezone time-date vm-thread vm-folder vm-toolbar vm-window tapestry vm-misc vm-message vm add-log comp comp-cstr cl-extra help-mode advice flymake-proc flymake project warnings icons server cmake-mode thingatpt rx rst compile text-property-search comint ansi-osc ansi-color ring which-func imenu flow-ctrl auto-complete edmacro kmacro popup finder-inf vm-autoloads vm-vars vm-version vm-macro preview-latex haskell-mode-autoloads emacs-goodies-loaddefs clang-rename clang-include-fixer let-alist clang-format xml bbdb-loaddefs auctex tex-site package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-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 dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 699185 104417) (symbols 48 33000 0) (strings 32 184352 5399) (string-bytes 1 4742869) (vectors 16 122982) (vector-slots 8 2508097 92856) (floats 8 192 676) (intervals 56 49139 5618) (buffers 984 38)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 19 04:59:05 2024 Received: (at 73815-done) by debbugs.gnu.org; 19 Oct 2024 08:59:05 +0000 Received: from localhost ([127.0.0.1]:41399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t25If-00040e-1j for submit@debbugs.gnu.org; Sat, 19 Oct 2024 04:59:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t25Id-000408-7J for 73815-done@debbugs.gnu.org; Sat, 19 Oct 2024 04:59:03 -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 ) id 1t25I8-00086q-1b; Sat, 19 Oct 2024 04:58:32 -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=KCmGOHBO/JbOFatsSBTvkf0vVdei5jJzN6RuqwhoCOY=; b=I47wKnGZcVAEmW1N0fTh q81T35BgYxUsEp4m6ORfpU6rNS78mWmUWc6Y2+EOKwUNev4ZfJX6cSKECQD4t3HuM/bxSZeHw+SAQ GBP1/fHWql/lgY70srh0mkVi9nw9+bRVqtEH4LzsNfHa1enF3mVxmpGotuADJ/J5cSVlTbEf1QXkE 2L3dyqTS5EbcCpW00kOYopu7esC0B7L7fpeWnZDsnFH+0m9XH5FAp65K1HLGqEi5/w/PvQVOfFA0C fZ9pcWzqHGBy0Y9VcSBJJ8WLoJRYa9wie3nvSbBkPl+5Bnx3o6e8Iisb7zpGEI2DDfzkfP/LbHEBB NucG8Ae3ZH7pHA==; Date: Sat, 19 Oct 2024 11:58:17 +0300 Message-Id: <86msj0lb9y.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?G=C3=B6ran?= Uddeborg In-Reply-To: <84sesx201v.fsf@uddeborg.se> (message from =?utf-8?Q?G=C3=B6r?= =?utf-8?Q?an?= Uddeborg on Tue, 15 Oct 2024 11:22:04 +0200) Subject: Re: bug#73815: 29.4; message-narrow-to-headers-or-head is void in mml-to-mime References: <84sesx201v.fsf@uddeborg.se> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73815-done Cc: 73815-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Göran Uddeborg > Date: Tue, 15 Oct 2024 11:22:04 +0200 > > While working on debugging the VM package, I hit what I believe is a bug > in Emacs itself. To reproduce the problem, run the following steps. > > 1. emacs -Q > 2. C-x b a > 3. C-x i b u g b r e v > 4. M-x m a i l - s e n d > > I attach the "bugbrev" file used above. (It is a very stripped down > version of a spam I got and tried to forward to Spamcop.) > > What happens is I get the error message > > mml-to-mime: Symbol’s function definition is void: message-narrow-to-headers-or-head > > My elisp skills are quite limited, but from what I understand, this is > triggered by the very long line in the forwarded message, which causes > mail-send to call mml-to-mime. The latter calls > message-narrow-to-headers-or-head but that is not available in this > situation. Shoudn't there be an autoload of that function too? > > (autoload 'message-narrow-to-headers-or-head "message") Yes, there should be. I've now added that on the emacs-30 branch, and I'm therefore closing this bug. From unknown Fri Jun 20 05:23:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 Nov 2024 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator