From unknown Sat Aug 09 13:16:10 2025 X-Loop: don@donarmstrong.com Subject: bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message Reply-To: Tom Rauchenwald , 1060@debbugs.gnu.org Resent-From: Tom Rauchenwald Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 30 Sep 2008 17:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1060 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122279381614997 (code B ref -1); Tue, 30 Sep 2008 17:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Sep 2008 16:56:56 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8UGuqD9014991 for ; Tue, 30 Sep 2008 09:56:53 -0700 Received: from mail.gnu.org ([199.232.76.166]:60050 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KkiUg-0006ur-LL for emacs-pretest-bug@gnu.org; Tue, 30 Sep 2008 12:54:38 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KkiWm-0004wF-Fu for emacs-pretest-bug@gnu.org; Tue, 30 Sep 2008 12:56:51 -0400 Received: from mail.gmx.net ([213.165.64.20]:48946) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KkiWl-0004vR-VJ for emacs-pretest-bug@gnu.org; Tue, 30 Sep 2008 12:56:48 -0400 Received: (qmail invoked by alias); 30 Sep 2008 16:56:44 -0000 Received: from 77.119.135.173.wireless.dyn.drei.com (EHLO walter) [77.119.135.173] by mail.gmx.net (mp018) with SMTP; 30 Sep 2008 18:56:44 +0200 X-Authenticated: #10706886 X-Provags-ID: V01U2FsdGVkX195cLwqm895gMoIlAXi25ZpXP21P2i/zr/uBhGZEO K5DKLx/0Lin6gc Received: by walter (Postfix, from userid 1000) id 3F08934DEFB; Tue, 30 Sep 2008 18:56:40 +0200 (CEST) From: Tom Rauchenwald To: emacs-pretest-bug@gnu.org Date: Tue, 30 Sep 2008 18:56:40 +0200 Message-ID: <87zllpefnb.fsf@sec.modprobe.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) emacs -Q Visit a directory with dired and turn on gnus-dired-mode C-x d RET M-x turn-on-gnus-dired-mode RET Mark a file, and hit C-c C-m C-a A message-buffer appears, but the selected file isn't attached and Invalid function: gnus-setup-message is shown in the echo-area. In GNU Emacs 23.0.60.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-09-30 on walter Windowing system distributor `The X.Org Foundation', version 11.0.10500000 configured using `configure '--with-x-toolkit=athena' 'CFLAGS=-march=prescott -O3 -pipe -fomit-frame-pointer'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: C value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_AT.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x d C-n C-n m C-c RET M-x t u r n - o g n C-c RET C-a M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. gnus-dired-attach: Invalid function: gnus-setup-message Making completion list... ---------- From unknown Sat Aug 09 13:16:10 2025 X-Loop: don@donarmstrong.com Subject: bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message Reply-To: Tom Rauchenwald , 1060@debbugs.gnu.org Resent-From: Tom Rauchenwald Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Gnus Resent-Date: Fri, 03 Oct 2008 16:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1060 X-Emacs-PR-Package: emacs,gnus X-Emacs-PR-Keywords: Received: via spool by 1060-submit@emacsbugs.donarmstrong.com id=B1060.12230521255292 (code B ref 1060); Fri, 03 Oct 2008 16:50:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1060) by emacsbugs.donarmstrong.com; 3 Oct 2008 16:42:05 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m93Gg0VF005286 for <1060@emacsbugs.donarmstrong.com>; Fri, 3 Oct 2008 09:42:02 -0700 Received: (qmail invoked by alias); 03 Oct 2008 16:41:54 -0000 Received: from 77.119.140.178.wireless.dyn.drei.com (EHLO walter) [77.119.140.178] by mail.gmx.net (mp011) with SMTP; 03 Oct 2008 18:41:54 +0200 X-Authenticated: #10706886 X-Provags-ID: V01U2FsdGVkX18xENYG2aAxGGq0CK+f6MYSrJN8QN5OWi7mV4AldZ orVfIB8sjZRKC0 Received: by walter (Postfix, from userid 1000) id 19EC834C86B; Fri, 3 Oct 2008 18:41:48 +0200 (CEST) From: Tom Rauchenwald To: 1060@debbugs.gnu.org References: <87zllpefnb.fsf@sec.modprobe.de> Date: Fri, 03 Oct 2008 18:41:48 +0200 In-Reply-To: <87zllpefnb.fsf@sec.modprobe.de> (Tom Rauchenwald's message of "Tue, 30 Sep 2008 18:56:40 +0200") Message-ID: <878wt5y6k3.fsf@sec.modprobe.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.58 Tom Rauchenwald writes: > emacs -Q > Visit a directory with dired and turn on gnus-dired-mode > C-x d RET > M-x turn-on-gnus-dired-mode RET > Mark a file, and hit C-c C-m C-a > > A message-buffer appears, but the selected file isn't attached and > Invalid function: gnus-setup-message is shown in the echo-area. The following patch seems to fix it for me, although i am not sure it is correct. I figured that the problem is caused because the macro gnus-setup-message isn't expanded because it is autoloaded, so I required it at compile-time. Tom --- gnus-dired.el.~1.13.~ 2008-05-10 22:57:34.000000000 +0200 +++ gnus-dired.el 2008-10-03 18:21:25.000000000 +0200 @@ -40,6 +40,8 @@ ;;; Code: (require 'dired) +(eval-when-compile + (require 'gnus-msg)) (autoload 'mml-attach-file "mml") (autoload 'mm-default-file-encoding "mm-decode");; Shift this to `mailcap.el'? (autoload 'mailcap-extension-to-mime "mailcap") @@ -53,7 +55,6 @@ ;; Autoloads to avoid byte-compiler warnings. These are used only if the user ;; customizes `gnus-dired-mail-mode' to use Message and/or Gnus. (autoload 'message-buffers "message") -(autoload 'gnus-setup-message "gnus-msg") (autoload 'gnus-print-buffer "gnus-sum") (defvar gnus-dired-mode nil From unknown Sat Aug 09 13:16:10 2025 X-Loop: don@donarmstrong.com Subject: bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message Reply-To: Glenn Morris , 1060@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , Gnus Resent-Date: Fri, 03 Oct 2008 18:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1060 X-Emacs-PR-Package: emacs,gnus X-Emacs-PR-Keywords: Received: via spool by 1060-submit@emacsbugs.donarmstrong.com id=B1060.1223058614777 (code B ref 1060); Fri, 03 Oct 2008 18:35:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-12.2 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1060) by emacsbugs.donarmstrong.com; 3 Oct 2008 18:30:14 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m93IUA2e000675 for <1060@emacsbugs.donarmstrong.com>; Fri, 3 Oct 2008 11:30:11 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KlpNZ-0004vb-0K; Fri, 03 Oct 2008 14:27:53 -0400 From: Glenn Morris To: Tom Rauchenwald Cc: 1060@debbugs.gnu.org References: <87zllpefnb.fsf@sec.modprobe.de> <878wt5y6k3.fsf@sec.modprobe.de> X-Spook: Exon Shell Fortezza lynch weapons of mass destruction X-Ran: stpZ!DUWtMM`CQ*3<{7nl>-yG/cX^!/f;X:j[J}jk:hW|0kWZYX{M{jpa(}q8(y+nI*Zl% X-Hue: blue X-Attribution: GM Date: Fri, 03 Oct 2008 14:27:52 -0400 In-Reply-To: <878wt5y6k3.fsf@sec.modprobe.de> (Tom Rauchenwald's message of "Fri, 03 Oct 2008 18:41:48 +0200") Message-ID: <7tfxnda5zr.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Tom Rauchenwald wrote: > The following patch seems to fix it for me, although i am not sure it is > correct. I figured that the problem is caused because the macro > gnus-setup-message isn't expanded because it is autoloaded, so I > required it at compile-time. Sorry, does not work for me (void-variable gnus-article-reply) if I apply, rebuild, and follow the original recipe. A straight require does not work either, since then turn-on-gnus-dired-mode just sits there showing the gnus logo. From unknown Sat Aug 09 13:16:10 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Tom Rauchenwald Subject: bug#1060 closed by Glenn Morris (Re: bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message) Message-ID: References: <87zllpefnb.fsf@sec.modprobe.de> X-Emacs-PR-Message: they-closed 1060 X-Emacs-PR-Package: emacs,gnus Reply-To: 1060@debbugs.gnu.org Date: Wed, 25 Feb 2009 05:35:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1235540106-16959-1" This is a multi-part message in MIME format... ------------=_1235540106-16959-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs,gnus package: #1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 1060: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1060 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1235540106-16959-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1060-done) by emacsbugs.donarmstrong.com; 25 Feb 2009 05:25:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1P5PKpI015479 for <1060-done@emacsbugs.donarmstrong.com>; Tue, 24 Feb 2009 21:25:21 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LcCEY-0004Kx-M3; Wed, 25 Feb 2009 00:23:02 -0500 From: Glenn Morris To: 1060-done@debbugs.gnu.org Subject: Re: bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message References: <87zllpefnb.fsf@sec.modprobe.de> <878wt5y6k3.fsf@sec.modprobe.de> <7tfxnda5zr.fsf@fencepost.gnu.org> X-Spook: kibo 64 Vauxhall Cross CIA Mahmoud Ahmadinejad rs9512c X-Ran: Wgs0UiZ!%V;;4|?NAHXtAHHh; User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Fixed by Katsumi Yamaoka's 2009-02-25 changes. ------------=_1235540106-16959-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From its.sec@gmx.net Tue Sep 30 09:56:56 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Sep 2008 16:56:56 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8UGuqD9014991 for ; Tue, 30 Sep 2008 09:56:53 -0700 Received: from mail.gnu.org ([199.232.76.166]:60050 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KkiUg-0006ur-LL for emacs-pretest-bug@gnu.org; Tue, 30 Sep 2008 12:54:38 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KkiWm-0004wF-Fu for emacs-pretest-bug@gnu.org; Tue, 30 Sep 2008 12:56:51 -0400 Received: from mail.gmx.net ([213.165.64.20]:48946) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KkiWl-0004vR-VJ for emacs-pretest-bug@gnu.org; Tue, 30 Sep 2008 12:56:48 -0400 Received: (qmail invoked by alias); 30 Sep 2008 16:56:44 -0000 Received: from 77.119.135.173.wireless.dyn.drei.com (EHLO walter) [77.119.135.173] by mail.gmx.net (mp018) with SMTP; 30 Sep 2008 18:56:44 +0200 X-Authenticated: #10706886 X-Provags-ID: V01U2FsdGVkX195cLwqm895gMoIlAXi25ZpXP21P2i/zr/uBhGZEO K5DKLx/0Lin6gc Received: by walter (Postfix, from userid 1000) id 3F08934DEFB; Tue, 30 Sep 2008 18:56:40 +0200 (CEST) From: Tom Rauchenwald To: emacs-pretest-bug@gnu.org Subject: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message Date: Tue, 30 Sep 2008 18:56:40 +0200 Message-ID: <87zllpefnb.fsf@sec.modprobe.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) emacs -Q Visit a directory with dired and turn on gnus-dired-mode C-x d RET M-x turn-on-gnus-dired-mode RET Mark a file, and hit C-c C-m C-a A message-buffer appears, but the selected file isn't attached and Invalid function: gnus-setup-message is shown in the echo-area. In GNU Emacs 23.0.60.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-09-30 on walter Windowing system distributor `The X.Org Foundation', version 11.0.10500000 configured using `configure '--with-x-toolkit=athena' 'CFLAGS=-march=prescott -O3 -pipe -fomit-frame-pointer'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: C value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_AT.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x d C-n C-n m C-c RET M-x t u r n - o g n C-c RET C-a M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. gnus-dired-attach: Invalid function: gnus-setup-message Making completion list... ---------- ------------=_1235540106-16959-1--