Gnus development mailing list
 help / color / mirror / Atom feed
* Problems when subscribing nntp groups from Server Buffer
@ 2003-05-18 14:23 Frank Haun
  2003-10-18 13:34 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Haun @ 2003-05-18 14:23 UTC (permalink / raw)


NNTP Groups which are subscribed via Server Buffer are not updated after `g',
nor when I set `gnus-activate-foreign-newsgroups' to `3' and  `b' (b runs
the command gnus-group-check-bogus-groups) make those groups vanish.

Just `M-g' on those groups works.

With ognus-0.18 everything works fine, the problems appeared with
ognus-0.19.

`G E' in the Group Buffer says:

Oort Gnus v0.18
;;; Editing the select method for `gmane.emacs.psgml.user'.

Gnus v5.10.3
;;; Editing the select method for `nntp+localhost:gmane.emacs.psgml.user'.

Hitting `A A' in Gnus v5.10.3 and subscribing groups works fine too, but
thats not the recommended method for subscribing.

Using the _old_ `gnus-browse-group-name' from Oort Gnus v0.18 works
fine.

    (defun gnus-browse-group-name ()
      (save-excursion
        (beginning-of-line)
        (let ((name (get-text-property (point) 'gnus-group)))
          (when (re-search-forward ": \\(.*\\)$" (gnus-point-at-eol) t)
            (gnus-group-prefixed-name
             (or name
                 (match-string-no-properties 1))
             gnus-browse-current-method)))))

Hm, I've done some edebug on the _current_ `gnus-browse-group-name'.

(defun gnus-browse-group-name ()
...
    gnus-browse-current-method
    => (nntp "localhost")

    (gnus-method-to-server-name gnus-browse-current-method)
    => "nntp+localhost"

    name
    => "gmane.emacs.psgml.devel"

    (concat (gnus-method-to-server-name gnus-browse-current-method) ":" 
            (or name
                (match-string-no-properties 1)))
    => "nntp+localhost:gmane.emacs.psgml.devel"

And there is

    `(defsubst gnus-method-to-server-name (method)'
    => "nntp+localhost"

What can I do? Do you need more info. :-)

\f

Ok, here some more from "gnus.gnus-bug".

Some edebugging on `gnus-get-unread-articles':

> [Lars] They should be activated by the code that starts with
>
> [Lars]  ;; These groups are foreign.  Check the level.
> [Lars]  (when (and (<= (gnus-info-level info) foreign-level)

This will never reached, cause

          (and (setq method (gnus-info-method info))
               (not (inline
                      (gnus-server-equal
                       gnus-select-method
                       (setq method (gnus-server-get-method nil method)))))
               (not (gnus-secondary-method-p method)))

returns `nil'.

Here some variables and code I've evaluated:

    group
     => "nntp+localhost:gmane.emacs.psgml.user"

    info
    => ("nntp+localhost:gmane.emacs.psgml.user" 3 nil ((seen 1)))

    gnus-select-method
    => (nntp "localhost")

    (setq method (gnus-info-method info))
    => nil

    (not (inline
           (gnus-server-equal
            gnus-select-method
            (setq method (gnus-server-get-method nil method)))))
    => nil

    (not (gnus-secondary-method-p method))
    => t

Frank



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

* Re: Problems when subscribing nntp groups from Server Buffer
  2003-05-18 14:23 Problems when subscribing nntp groups from Server Buffer Frank Haun
@ 2003-10-18 13:34 ` Lars Magne Ingebrigtsen
  2003-10-18 14:38   ` Frank Haun
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-10-18 13:34 UTC (permalink / raw)


Frank Haun <pille3003@fhaun.de> writes:

> Gnus v5.10.3
> ;;; Editing the select method for `nntp+localhost:gmane.emacs.psgml.user'.

What's the complete contents of the buffer when you edit it?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen



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

* Re: Problems when subscribing nntp groups from Server Buffer
  2003-10-18 13:34 ` Lars Magne Ingebrigtsen
@ 2003-10-18 14:38   ` Frank Haun
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Haun @ 2003-10-18 14:38 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Frank Haun <pille3003@fhaun.de> writes:
>
>> Gnus v5.10.3
>> ;;; Editing the select method for `nntp+localhost:gmane.emacs.psgml.user'.
>
> What's the complete contents of the buffer when you edit it?

Can't reproduce it, cause my reported problem has been fixed by you. :-)

2003-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>

       [...]
	* gnus-srvr.el (gnus-browse-unsubscribe-group): Strip prefix from
	native groups.

Frank



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

end of thread, other threads:[~2003-10-18 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-18 14:23 Problems when subscribing nntp groups from Server Buffer Frank Haun
2003-10-18 13:34 ` Lars Magne Ingebrigtsen
2003-10-18 14:38   ` Frank Haun

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