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?G=C3=B6ran?= Uddeborg Newsgroups: gmane.emacs.bugs Subject: bug#73815: 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="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5368"; mail-complaints-to="usenet@ciao.gmane.io" To: 73815@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 15 11:23:03 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 1t0dld-000160-AE for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Oct 2024 11:23:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0dlO-0000NX-5n; Tue, 15 Oct 2024 05:22:46 -0400 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 1t0dlM-0000NA-8H for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2024 05:22:44 -0400 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 1t0dlL-0004II-W5 for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2024 05:22:44 -0400 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=OdpG7yyzTDEQA4lrfFltzgOKsNLYjmM8d/gpSf5cbKw=; b=UnNHnr2IqKjYwLd1L5Kl3bm/D6KwE4rNM5uGOop8WEyZFQt+4xgOiFLhIWtQ9A9NyDSEuU36cbLQlxbcve+cmKFZbmC2kOz5SN1JB0uaq4cSTTSYmE3QMvecthPY7oUwZtOvQe+5k43J6/rpUQT4pUA4hlkdyVIFxGpvLfAK0J/TkPyvoEamZut8+Dhh55WCKoG/MMsqeQUP5s2lEGQeOd79QSiErUTYEbuRH61NeNTNY0TisXIjgYZP2D0cGbqh39RY4KWBGKTQl1ZWCA0EKc1wCBLeHbg8fsQZrz0taAE2vimW7ccF0IrhTOP+dbrrBn+rbk7q/TQw/IH/k1bq5Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t0dld-00088i-TU for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2024 05:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?G=C3=B6ran?= Uddeborg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Oct 2024 09:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73815 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172898415531247 (code B ref -1); Tue, 15 Oct 2024 09:23:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Oct 2024 09:22:35 +0000 Original-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 Original-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 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 1t0dkr-0000Ly-O6 for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2024 05:22:14 -0400 Original-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 Original-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= Original-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 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-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:293609 Archived-At: --=-=-= 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 TUlNRS1WZXJzaW9uOiAxLj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k3MDhGRUEwQjNDQTZCMzJAU0kyUFIwM01CNTg4NS5hcGNwcmQwMy5wcm9kLm91 dGxvb2suY29tPiA8MTAyNzYwMTAxMi4xOTM1Njk5LjE3MjI1NzUzOTEwMDJAbWFpbC55YWhvby5j b20+IDw3MDM2MDY5Ny4xOTM4MDk2LjE3MjI1NzUzOTc0MjFAbWFpbC55YWhvby5jb20+IDwxNzI2 MzIwNzk4LjE5NDA2MTcuMTcyMjU3NTQwMzE2MEBtYWlsLnlhaG9vLmNvbT4gPDEyOTk0ODQ4NzMu MTkzODYxNi4xNzIyNTc1NDM1MDgwQG1haWwueWFob28uY29tPiA8MjAxNTY5ODA0MS4xOTM0Nzk1 LjE3MjI1NzU0NDA4NDBAbWFpbC55YWhvby5jb20+IDwxOTgzMzIwODIzLjE5MzM1MDIuMTcyMjU3 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)) --=-=-=--