unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message
@ 2008-09-30 16:56 ` Tom Rauchenwald
  2008-10-03 16:41   ` Tom Rauchenwald
  2009-02-25  5:35   ` bug#1060: marked as done (23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message) Emacs bug Tracking System
  0 siblings, 2 replies; 4+ messages in thread
From: Tom Rauchenwald @ 2008-09-30 16:56 UTC (permalink / raw)
  To: emacs-pretest-bug


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








^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message
  2008-09-30 16:56 ` bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message Tom Rauchenwald
@ 2008-10-03 16:41   ` Tom Rauchenwald
  2008-10-03 18:27     ` Glenn Morris
  2009-02-25  5:35   ` bug#1060: marked as done (23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message) Emacs bug Tracking System
  1 sibling, 1 reply; 4+ messages in thread
From: Tom Rauchenwald @ 2008-10-03 16:41 UTC (permalink / raw)
  To: 1060

Tom Rauchenwald <its.sec@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






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message
  2008-10-03 16:41   ` Tom Rauchenwald
@ 2008-10-03 18:27     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2008-10-03 18:27 UTC (permalink / raw)
  To: Tom Rauchenwald; +Cc: 1060

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.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#1060: marked as done (23.0.60; gnus-dired-mode: Invalid  function: gnus-setup-message)
  2008-09-30 16:56 ` bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message Tom Rauchenwald
  2008-10-03 16:41   ` Tom Rauchenwald
@ 2009-02-25  5:35   ` Emacs bug Tracking System
  1 sibling, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2009-02-25  5:35 UTC (permalink / raw)
  To: Glenn Morris

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]


Your message dated Wed, 25 Feb 2009 00:23:02 -0500
with message-id <seljrv9jk9.fsf@fencepost.gnu.org>
and subject line Re: bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message
has caused the Emacs bug report #1060,
regarding 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1060: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1060
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3635 bytes --]

From: Tom Rauchenwald <its.sec@gmx.net>
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>


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





[-- Attachment #3: Type: message/rfc822, Size: 1551 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: 1060-done@emacsbugs.donarmstrong.com
Subject: Re: bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message
Date: Wed, 25 Feb 2009 00:23:02 -0500
Message-ID: <seljrv9jk9.fsf@fencepost.gnu.org>


Fixed by Katsumi Yamaoka's 2009-02-25 changes.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-25  5:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <seljrv9jk9.fsf@fencepost.gnu.org>
2008-09-30 16:56 ` bug#1060: 23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message Tom Rauchenwald
2008-10-03 16:41   ` Tom Rauchenwald
2008-10-03 18:27     ` Glenn Morris
2009-02-25  5:35   ` bug#1060: marked as done (23.0.60; gnus-dired-mode: Invalid function: gnus-setup-message) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).