Gnus development mailing list
 help / color / mirror / Atom feed
* Drafts problem
@ 2001-02-23 14:22 Alex Schroeder
  2001-02-23 18:22 ` Kai Großjohann
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Schroeder @ 2001-02-23 14:22 UTC (permalink / raw)


I just updated my oGnus from CVS but I keep getting the same problem:

When I use M-g in the Group buffer on the drafts folder, I get an error:

       *: nndraft:drafts

nndraft:drafts error: 

(That's right, no explanation)

When I try to enter the group, I get:

Couldn't activate group nndraft:drafts: 

Some variables:

nndraft-current-directory's value is 
"/home/alex/News/drafts/drafts/"

nndraft-directory's value is 
"~/News/drafts/"

Note that my drafts are stored in nndraft-current-directory.  Here's
from my buffer-menu:

    *sent reply to Kai Großjohann*  1248 Message /home/alex/News/drafts/drafts/5

I can open and read those files from dired, they exist.

Using Emacs 20.7 on Linux.

Alex.
-- 
http://www.geocities.com/kensanata/emacs.html
"Many special characters (C-home, C-up, etc.) can't be bound on most ttys."



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

* Re: Drafts problem
  2001-02-23 14:22 Drafts problem Alex Schroeder
@ 2001-02-23 18:22 ` Kai Großjohann
  2001-02-23 21:38   ` Alex Schroeder
  0 siblings, 1 reply; 10+ messages in thread
From: Kai Großjohann @ 2001-02-23 18:22 UTC (permalink / raw)
  Cc: ding

What does `G p' and `G E' say on the drafts group?

kai
-- 
Be indiscrete.  Do it continuously.



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

* Re: Drafts problem
  2001-02-23 18:22 ` Kai Großjohann
@ 2001-02-23 21:38   ` Alex Schroeder
  2001-02-23 21:45     ` ShengHuo ZHU
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Schroeder @ 2001-02-23 21:38 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> What does `G p' and `G E' say on the drafts group?

Group parameters:

((gnus-dummy
  (gnus-draft-mode)))

Group info:

("nndraft:drafts" 1 nil nil
 (nndraft "")
 ((gnus-dummy
   (gnus-draft-mode))))

BTW, the earlier error I reported must be specific to running
gnus-no-server.  I just check right now running normal gnus, and now
the error is slightly different:

Signaling: (error "Couldn't activate group nndraft:drafts: Opened server  using directory ~/News/drafts/")

Don't know if that helps.  As I said, the weird thing is that drafts
are saved in ~/News/drafts/drafts/...

Alex.
-- 
http://www.geocities.com/kensanata/emacs.html
"Get eshell or ansi-color.el for garbage GCC or ls output."





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

* Re: Drafts problem
  2001-02-23 21:38   ` Alex Schroeder
@ 2001-02-23 21:45     ` ShengHuo ZHU
  2001-02-23 23:41       ` Alex Schroeder
  0 siblings, 1 reply; 10+ messages in thread
From: ShengHuo ZHU @ 2001-02-23 21:45 UTC (permalink / raw)


Alex Schroeder <alex@gnu.org> writes:

[...]

> BTW, the earlier error I reported must be specific to running
> gnus-no-server.  I just check right now running normal gnus, and now
> the error is slightly different:
> 
> Signaling: (error "Couldn't activate group nndraft:drafts: Opened server  using directory ~/News/drafts/")
> 
> Don't know if that helps.  As I said, the weird thing is that drafts
> are saved in ~/News/drafts/drafts/...

Have you changed the values of nnmh-* or nndir-* ?

ShengHuo



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

* Re: Drafts problem
  2001-02-23 21:45     ` ShengHuo ZHU
@ 2001-02-23 23:41       ` Alex Schroeder
  2001-02-24  0:01         ` ShengHuo ZHU
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Schroeder @ 2001-02-23 23:41 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> Alex Schroeder <alex@gnu.org> writes:
> 
> > Signaling: (error "Couldn't activate group nndraft:drafts: Opened server  using directory ~/News/drafts/")
> > 
> > Don't know if that helps.  As I said, the weird thing is that drafts
> > are saved in ~/News/drafts/drafts/...
> 
> Have you changed the values of nnmh-* or nndir-* ?

I don't use these two.  From my .gnus:

(setq gnus-select-method '(nntp "212.40.5.54")
      gnus-secondary-select-methods '((nnml ""))
      ...)

Alex.
-- 
http://www.geocities.com/kensanata/emacs.html
"Try it with emacs -q --no-site-file to be sure that it isn't your .emacs."



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

* Re: Drafts problem
  2001-02-23 23:41       ` Alex Schroeder
@ 2001-02-24  0:01         ` ShengHuo ZHU
  2001-02-24 12:31           ` Alex Schroeder
  0 siblings, 1 reply; 10+ messages in thread
From: ShengHuo ZHU @ 2001-02-24  0:01 UTC (permalink / raw)


Alex Schroeder <alex@gnu.org> writes:

> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> 
> > Alex Schroeder <alex@gnu.org> writes:
> > 
> > > Signaling: (error "Couldn't activate group nndraft:drafts: Opened server  using directory ~/News/drafts/")
> > > 
> > > Don't know if that helps.  As I said, the weird thing is that drafts
> > > are saved in ~/News/drafts/drafts/...
> > 
> > Have you changed the values of nnmh-* or nndir-* ?
> 
> I don't use these two.  From my .gnus:
> 
> (setq gnus-select-method '(nntp "212.40.5.54")
>       gnus-secondary-select-methods '((nnml ""))
>       ...)

It is a weird problem, but I don't know why.  Could you set a
breakpoint in nnmh-request-group (it IS nnmh), then try `M-g' on
nndraft:drafts, and tell me why it returns nil?

ShengHuo



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

* Re: Drafts problem
  2001-02-24  0:01         ` ShengHuo ZHU
@ 2001-02-24 12:31           ` Alex Schroeder
  2001-02-25 15:17             ` ShengHuo ZHU
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Schroeder @ 2001-02-24 12:31 UTC (permalink / raw)


ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> > > > Signaling: (error "Couldn't activate group nndraft:drafts: Opened server  using directory ~/News/drafts/")
> > > Have you changed the values of nnmh-* or nndir-* ?
> 
> It is a weird problem, but I don't know why.  Could you set a
> breakpoint in nnmh-request-group (it IS nnmh), then try `M-g' on
> nndraft:drafts, and tell me why it returns nil?

OK, I call debug-on-entry and enter nnmh-request-group, then I hit M-g
on the drafts group:

       *: nndraft:drafts

I get this error:

nndraft:drafts error: 

No Backtrace buffer!  nnmh-request-group is not called.



I did some feeble debugging of my own, though.  :)  Dunno wether I'm
on the correct track or not.  Here goes:  I set debug-on-error to t,
then hit M-g on the drafts group.  The error happens but no backtrace
appears.  Then I hit RET on the drafts group and I do get a
backtrace.

It happens within gnus-select-newsgroup("nndraft:drafts" nil nil)

I then try (gnus-activate-group "nndraft:drafts") and yes, it returns
nil.

Following this, I try (gnus-find-method-for-group "nndraft:drafts")
and get (nndraft "").  I proceed to check all elements in the `and'
call:

(gnus-check-server '(nndraft "")) -> t
(gnus-parse-active) -> nil

That means `active' will be nil, and therefore `gnus-activate-group'
will return nil.

(switch-to-buffer nntp-server-buffer) switches me to an empty buffer.

Maybe that is the source of the problem?

Alex.
-- 
http://www.geocities.com/kensanata/emacs.html
"Emacs 21 will be out when it comes out.  No beta available."



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

* Re: Drafts problem
  2001-02-24 12:31           ` Alex Schroeder
@ 2001-02-25 15:17             ` ShengHuo ZHU
  2001-02-25 22:53               ` Alex Schroeder
  0 siblings, 1 reply; 10+ messages in thread
From: ShengHuo ZHU @ 2001-02-25 15:17 UTC (permalink / raw)


Alex Schroeder <alex@gnu.org> writes:

> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
> 
> > > > > Signaling: (error "Couldn't activate group nndraft:drafts: Opened server  using directory ~/News/drafts/")
> > > > Have you changed the values of nnmh-* or nndir-* ?
> > 
> > It is a weird problem, but I don't know why.  Could you set a
> > breakpoint in nnmh-request-group (it IS nnmh), then try `M-g' on
> > nndraft:drafts, and tell me why it returns nil?
> 
> OK, I call debug-on-entry and enter nnmh-request-group, then I hit M-g
> on the drafts group:
> 
>        *: nndraft:drafts
> 
> I get this error:
> 
> nndraft:drafts error: 
> 
> No Backtrace buffer!  nnmh-request-group is not called.

It is weird. nnmh-request-group should be called, because
gnus-request-group is called before gnus-parse-active is called.

> I did some feeble debugging of my own, though.  :)  Dunno wether I'm
> on the correct track or not.  Here goes:  I set debug-on-error to t,
> then hit M-g on the drafts group.  The error happens but no backtrace
> appears.  Then I hit RET on the drafts group and I do get a
> backtrace.
> 
> It happens within gnus-select-newsgroup("nndraft:drafts" nil nil)
> 
> I then try (gnus-activate-group "nndraft:drafts") and yes, it returns
> nil.
> 
> Following this, I try (gnus-find-method-for-group "nndraft:drafts")
> and get (nndraft "").  I proceed to check all elements in the `and'
> call:
> 
> (gnus-check-server '(nndraft "")) -> t
> (gnus-parse-active) -> nil
> 
> That means `active' will be nil, and therefore `gnus-activate-group'
> will return nil.
> 
> (switch-to-buffer nntp-server-buffer) switches me to an empty buffer.
> 
> Maybe that is the source of the problem?

Maybe this is a problem. If gnus-request-group is called without
dont-check argument, it should insert something into
nntp-server-buffer.

ShengHuo



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

* Re: Drafts problem
  2001-02-25 15:17             ` ShengHuo ZHU
@ 2001-02-25 22:53               ` Alex Schroeder
  2001-02-25 23:08                 ` ShengHuo ZHU
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Schroeder @ 2001-02-25 22:53 UTC (permalink / raw)


> Alex Schroeder <alex@gnu.org> writes:
> 
> > Following this, I try (gnus-find-method-for-group "nndraft:drafts")
> > and get (nndraft "").  I proceed to check all elements in the `and'
> > call:
> > 
> > (gnus-check-server '(nndraft "")) -> t
> > (gnus-parse-active) -> nil
> > 
> > That means `active' will be nil, and therefore `gnus-activate-group'
> > will return nil.
> > 
> > (switch-to-buffer nntp-server-buffer) switches me to an empty buffer.

OK, what I did now is the following:  I read some news, read some
mail, then I hit RET on the group
       *: nndraft:drafts
and get the error "Couldn't activate group nndraft:drafts: ".  I then
evaluate (switch-to-buffer nntp-server-buffer) and this is the buffer
contents:

icann.members.announce 11 1 y
anschaffungen 126 1 y
friends 102 1 y
family 110 1 y
fhz 51 1 y
guile.gtk 72 1 y
guile 447 18 y
emacs.sql 355 1 y
emacs.custom 37 1 y
emacs.BBDB 2492 292 y
emacs.tnt 3 1 y
emacs 638 11 y
gnu.org 371 3 y
atlantis 6 1 y
mail.spam 13 9 y
mail.misc 4421 3485 y
emacs.gnus 135 1 y

Does that help at all?

Alex.
-- 
http://www.geocities.com/kensanata/emacs.html
"Put (global-font-lock-mode 1) in your .emacs for syntax coloring."



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

* Re: Drafts problem
  2001-02-25 22:53               ` Alex Schroeder
@ 2001-02-25 23:08                 ` ShengHuo ZHU
  0 siblings, 0 replies; 10+ messages in thread
From: ShengHuo ZHU @ 2001-02-25 23:08 UTC (permalink / raw)


Alex Schroeder <alex@gnu.org> writes:

> > Alex Schroeder <alex@gnu.org> writes:
> > 
> > > Following this, I try (gnus-find-method-for-group "nndraft:drafts")
> > > and get (nndraft "").  I proceed to check all elements in the `and'
> > > call:
> > > 
> > > (gnus-check-server '(nndraft "")) -> t
> > > (gnus-parse-active) -> nil
> > > 
> > > That means `active' will be nil, and therefore `gnus-activate-group'
> > > will return nil.
> > > 
> > > (switch-to-buffer nntp-server-buffer) switches me to an empty buffer.
> 
> OK, what I did now is the following:  I read some news, read some
> mail, then I hit RET on the group
>        *: nndraft:drafts
> and get the error "Couldn't activate group nndraft:drafts: ".  I then
> evaluate (switch-to-buffer nntp-server-buffer) and this is the buffer
> contents:
> 
> icann.members.announce 11 1 y

[...]

> 
> Does that help at all?

It seems that they are from another server. What is that?  Can you
post the group info of nndraft:drafts (hit `G E' on the group) and the
value of nnoo-state-alist after hitting RET on the group?  (If the
size of the value is large, send it to me.)

ShengHuo



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

end of thread, other threads:[~2001-02-25 23:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-23 14:22 Drafts problem Alex Schroeder
2001-02-23 18:22 ` Kai Großjohann
2001-02-23 21:38   ` Alex Schroeder
2001-02-23 21:45     ` ShengHuo ZHU
2001-02-23 23:41       ` Alex Schroeder
2001-02-24  0:01         ` ShengHuo ZHU
2001-02-24 12:31           ` Alex Schroeder
2001-02-25 15:17             ` ShengHuo ZHU
2001-02-25 22:53               ` Alex Schroeder
2001-02-25 23:08                 ` ShengHuo ZHU

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 NNTP newsgroup(s).