GNU bug report logs - #1060
23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message

Previous Next

Packages: emacs, gnus;

Reported by: Tom Rauchenwald <its.sec <at> gmx.net>

Date: Tue, 30 Sep 2008 17:05:05 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1060 in the body.
You can then email your comments to 1060 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1060; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Tom Rauchenwald <its.sec <at> gmx.net>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Tom Rauchenwald <its.sec <at> gmx.net>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message
Date: Tue, 30 Sep 2008 18:56:40 +0200
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 <return> C-n C-n m C-c RET M-x t u r n - o <tab> 
g n <tab> <return> C-c RET C-a <down> M-x r e p o <tab> 
r <tab> <return>

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...
----------






bug reassigned from package `emacs' to `emacs,gnus'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 01 Oct 2008 02:05:06 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Gnus <bugs <at> gnus.org>:
bug#1060; Package emacs,gnus. Full text and rfc822 format available.

Acknowledgement sent to Tom Rauchenwald <its.sec <at> gmx.net>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Gnus <bugs <at> gnus.org>. Full text and rfc822 format available.

Message #12 received at 1060 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Tom Rauchenwald <its.sec <at> gmx.net>
To: 1060 <at> debbugs.gnu.org
Subject: Re: bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message
Date: Fri, 03 Oct 2008 18:41:48 +0200
Tom Rauchenwald <its.sec <at> gmx.net> 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




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, Gnus <bugs <at> gnus.org>:
bug#1060; Package emacs,gnus. Full text and rfc822 format available.

Message #15 received at 1060 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Tom Rauchenwald <its.sec <at> gmx.net>
Cc: 1060 <at> debbugs.gnu.org
Subject: Re: bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message
Date: Fri, 03 Oct 2008 14:27:52 -0400
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.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 25 Feb 2009 05:35:05 GMT) Full text and rfc822 format available.

Notification sent to Tom Rauchenwald <its.sec <at> gmx.net>:
bug acknowledged by developer. (Wed, 25 Feb 2009 05:35:06 GMT) Full text and rfc822 format available.

Message #20 received at 1060-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 1060-done <at> debbugs.gnu.org
Subject: Re: bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message
Date: Wed, 25 Feb 2009 00:23:02 -0500
Fixed by Katsumi Yamaoka's 2009-02-25 changes.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 25 Mar 2009 14:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 188 days ago.

Previous Next


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