unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
@ 2016-01-20 16:41 Live System User
  2016-01-20 19:31 ` Glenn Morris
  2016-02-07  5:43 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 15+ messages in thread
From: Live System User @ 2016-01-20 16:41 UTC (permalink / raw)
  To: 22414


While executing a function to do the following commands:

  (gnus-summary-refer-references)
  (gnus-summary-top-thread)
  (gnus-summary-refer-thread)

I get the error:

 "No such function: nnregistry-request-group

These commands are analogous to the keystrokes:

    A R T o A T

in the Gnus *Summary* buffer

What is `nnregistry-request-group` and how does one debug this?

Thanks.



In GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.16.6)
 of 2015-09-14 on buildvm-10.phx2.fedoraproject.org
Windowing system distributor `Fedora Project', version 11.0.11701000
Configured using:
 `configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
 --with-gpm=no build_alias=x86_64-redhat-linux-gnu
 host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g
 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro'

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Article

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Sorting threads...done
Generating summary...done
Auto-saving...done

Load-path shadows:
~/.emacs.d/lisp/ntlm hides /usr/share/emacs/24.5/lisp/net/ntlm

Features:
(shadow help-mode emacsbug sendmail mule-util sort smiley ansi-color
mail-extr gnus-async gnus-bcklg gnus-cite qp gnus-ml disp-table nndraft
nnmh nndoc utf-7 rfc2104 nnfolder nnimap utf7 parse-time netrc gnutls
network-stream starttls tls gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig
mailcap nntp gnus-cache epa-file epa derived epg epg-config auth-source
cl-macs eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core
cl gv sieve sieve-mode sieve-manage password-cache nnir gnus-bogofilter
gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start
gnus-spec gnus-int gnus-range message format-spec rfc822 mml easymenu
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems
nnheader gnus-util mail-utils mm-util help-fns mail-prsvr wid-edit
cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 912398 47118)
 (symbols 48 132422 8122)
 (miscs 40 116 427)
 (strings 32 109155 12117)
 (string-bytes 1 4630744)
 (vectors 16 25025)
 (vector-slots 8 639432 11471)
 (floats 8 233 979)
 (intervals 56 50191 182)
 (buffers 960 36)
 (heap 1024 86089 57268))





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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
  2016-01-20 16:41 bug#22414: 24.5; GNUS - No such function: nnregistry-request-group Live System User
@ 2016-01-20 19:31 ` Glenn Morris
  2016-02-07  5:43 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 15+ messages in thread
From: Glenn Morris @ 2016-01-20 19:31 UTC (permalink / raw)
  To: Live System User; +Cc: 22414

Live System User wrote:

> What is `nnregistry-request-group` and how does one debug this?

You could start by reading http://debbugs.gnu.org/13096,
although that never went anywhere.






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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
  2016-01-20 16:41 bug#22414: 24.5; GNUS - No such function: nnregistry-request-group Live System User
  2016-01-20 19:31 ` Glenn Morris
@ 2016-02-07  5:43 ` Lars Ingebrigtsen
  2016-12-07 19:37   ` Glenn Morris
                     ` (2 more replies)
  1 sibling, 3 replies; 15+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-07  5:43 UTC (permalink / raw)
  To: Live System User; +Cc: 22414

Live System User <nyc4bos@aol.com> writes:

> While executing a function to do the following commands:
>
>   (gnus-summary-refer-references)
>   (gnus-summary-top-thread)
>   (gnus-summary-refer-thread)
>
> I get the error:
>
>  "No such function: nnregistry-request-group

Set debug-on-error, repeat the bug and post the backtrace.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
  2016-02-07  5:43 ` Lars Ingebrigtsen
@ 2016-12-07 19:37   ` Glenn Morris
       [not found]   ` <878qr5xzgt.fsf@>
       [not found]   ` <871pwvu402.fsf@>
  2 siblings, 0 replies; 15+ messages in thread
From: Glenn Morris @ 2016-12-07 19:37 UTC (permalink / raw)
  To: 22414-done

Lars Ingebrigtsen wrote:

> Set debug-on-error, repeat the bug and post the backtrace.

No response in 10 months, closing.






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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
       [not found]   ` <878qr5xzgt.fsf@>
@ 2025-01-21 23:43     ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 15+ messages in thread
From: Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2025-01-21 23:43 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 22414, Live System User

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


This patch should fix the issue I think. Please review.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-nnregistry-request-group-function-for-gnus-refer.patch --]
[-- Type: text/x-patch, Size: 1043 bytes --]

From a58d7a61e87370dfc86f470ccaac8c89e0ed04a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= <bjorn.bidar@thaodan.de>
Date: Wed, 22 Jan 2025 01:28:22 +0200
Subject: [PATCH] Add nnregistry-request-group function for gnus-refer-article

* lisp/gnus/nnregistry.el (nnregistry-request-group): Add
function for gnus-check-group-server.  nnregistry doesn't handle
any servers or groups define the dummy function so Gnus-registry
works as refer article method.
---
 lisp/gnus/nnregistry.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/gnus/nnregistry.el b/lisp/gnus/nnregistry.el
index edf773209d6..10363560ba6 100644
--- a/lisp/gnus/nnregistry.el
+++ b/lisp/gnus/nnregistry.el
@@ -47,6 +47,9 @@ nnregistry-status-message
 (deffoo nnregistry-open-server (_server &optional _defs)
   gnus-registry-db)
 
+(deffoo nnregistry-request-group (_group &optional _server _dont-check _info)
+  t)
+
 (defvar nnregistry-within-nnregistry nil)
 
 (deffoo nnregistry-request-article (id &optional _group _server buffer)
-- 
2.45.2


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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
       [not found]   ` <871pwvu402.fsf@>
@ 2025-02-01 11:39     ` Eli Zaretskii
  2025-02-03 11:16       ` Robert Pluim
  0 siblings, 1 reply; 15+ messages in thread
From: Eli Zaretskii @ 2025-02-01 11:39 UTC (permalink / raw)
  To: Björn Bidar, Eric Abrahamsen; +Cc: 22414, larsi, nyc4bos

> Cc: 22414@debbugs.gnu.org, Live System User <nyc4bos@aol.com>
> Date: Wed, 22 Jan 2025 01:43:57 +0200
> From:  Björn Bidar via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> This patch should fix the issue I think. Please review.

Thanks.  Could people who use Gnus please take a look and comment?





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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
  2025-02-01 11:39     ` Eli Zaretskii
@ 2025-02-03 11:16       ` Robert Pluim
  2025-02-03 11:57         ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found]         ` <67a0af21.170a0220.2a65b5.c97aSMTPIN_ADDED_BROKEN@mx.google.com>
  0 siblings, 2 replies; 15+ messages in thread
From: Robert Pluim @ 2025-02-03 11:16 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Eric Abrahamsen, Björn Bidar, larsi, nyc4bos, 22414

>>>>> On Sat, 01 Feb 2025 13:39:50 +0200, Eli Zaretskii <eliz@gnu.org> said:

    >> Cc: 22414@debbugs.gnu.org, Live System User <nyc4bos@aol.com>
    >> Date: Wed, 22 Jan 2025 01:43:57 +0200
    >> From:  Björn Bidar via "Bug reports for GNU Emacs,
    >> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
    >> 
    >> This patch should fix the issue I think. Please review.

    Eli> Thanks.  Could people who use Gnus please take a look and comment?

Looks ok to me, although I donʼt use the Gnus registry. The commit
message could be clearer, though.

Robert
-- 





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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
  2025-02-03 11:16       ` Robert Pluim
@ 2025-02-03 11:57         ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found]         ` <67a0af21.170a0220.2a65b5.c97aSMTPIN_ADDED_BROKEN@mx.google.com>
  1 sibling, 0 replies; 15+ messages in thread
From: Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2025-02-03 11:57 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Eric Abrahamsen, 22414, Eli Zaretskii, nyc4bos, larsi

Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Sat, 01 Feb 2025 13:39:50 +0200, Eli Zaretskii <eliz@gnu.org> said:
>
>     >> Cc: 22414@debbugs.gnu.org, Live System User <nyc4bos@aol.com>
>     >> Date: Wed, 22 Jan 2025 01:43:57 +0200
>     >> From:  Björn Bidar via "Bug reports for GNU Emacs,
>     >> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>     >> 
>     >> This patch should fix the issue I think. Please review.
>
>     Eli> Thanks.  Could people who use Gnus please take a look and comment?
>
> Looks ok to me, although I donʼt use the Gnus registry. The commit
> message could be clearer, though.

How exactly?





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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
       [not found]         ` <67a0af21.170a0220.2a65b5.c97aSMTPIN_ADDED_BROKEN@mx.google.com>
@ 2025-02-03 12:19           ` Robert Pluim
  2025-02-04 11:43             ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found]             ` <67a1fd54.170a0220.154d18.03e0SMTPIN_ADDED_BROKEN@mx.google.com>
  0 siblings, 2 replies; 15+ messages in thread
From: Robert Pluim @ 2025-02-03 12:19 UTC (permalink / raw)
  To: Björn Bidar; +Cc: Eric Abrahamsen, 22414, Eli Zaretskii, nyc4bos, larsi

>>>>> On Mon, 03 Feb 2025 13:57:20 +0200, Björn Bidar <bjorn.bidar@thaodan.de> said:

    Björn> Robert Pluim <rpluim@gmail.com> writes:
    >>>>>>> On Sat, 01 Feb 2025 13:39:50 +0200, Eli Zaretskii <eliz@gnu.org> said:
    >> 
    >> >> Cc: 22414@debbugs.gnu.org, Live System User <nyc4bos@aol.com>
    >> >> Date: Wed, 22 Jan 2025 01:43:57 +0200
    >> >> From:  Björn Bidar via "Bug reports for GNU Emacs,
    >> >> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
    >> >> 
    >> >> This patch should fix the issue I think. Please review.
    >> 
    Eli> Thanks.  Could people who use Gnus please take a look and comment?
    >> 
    >> Looks ok to me, although I donʼt use the Gnus registry. The commit
    >> message could be clearer, though.

    Björn> How exactly?

I guess you understand this sentence, but I donʼt:

    nnregistry doesn't handle
    any servers or groups define the dummy function so Gnus-registry
    works as refer article method

Robert
-- 





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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
  2025-02-03 12:19           ` Robert Pluim
@ 2025-02-04 11:43             ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found]             ` <67a1fd54.170a0220.154d18.03e0SMTPIN_ADDED_BROKEN@mx.google.com>
  1 sibling, 0 replies; 15+ messages in thread
From: Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2025-02-04 11:43 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Eric Abrahamsen, 22414, Eli Zaretskii, nyc4bos, larsi

Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Mon, 03 Feb 2025 13:57:20 +0200, Björn Bidar <bjorn.bidar@thaodan.de> said:
>
>     Björn> Robert Pluim <rpluim@gmail.com> writes:
>     >>>>>>> On Sat, 01 Feb 2025 13:39:50 +0200, Eli Zaretskii <eliz@gnu.org> said:
>     >> 
>     >> >> Cc: 22414@debbugs.gnu.org, Live System User <nyc4bos@aol.com>
>     >> >> Date: Wed, 22 Jan 2025 01:43:57 +0200
>     >> >> From:  Björn Bidar via "Bug reports for GNU Emacs,
>     >> >> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>     >> >> 
>     >> >> This patch should fix the issue I think. Please review.
>     >> 
>     Eli> Thanks.  Could people who use Gnus please take a look and comment?
>     >> 
>     >> Looks ok to me, although I donʼt use the Gnus registry. The commit
>     >> message could be clearer, though.
>
>     Björn> How exactly?
>
> I guess you understand this sentence, but I donʼt:
>
>     nnregistry doesn't handle
>     any servers or groups define the dummy function so Gnus-registry
>     works as refer article method
>

What do you not understand about it? nnregistry doesn't handle servers
or groups so it needs the dummy function to  pass through the
gnus-check-group-server function. If there's context missing check the
other functions in nnregistry.el.





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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
       [not found]             ` <67a1fd54.170a0220.154d18.03e0SMTPIN_ADDED_BROKEN@mx.google.com>
@ 2025-02-04 12:08               ` Robert Pluim
  2025-02-04 13:11                 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found]                 ` <67a211ec.170a0220.325788.ea23SMTPIN_ADDED_BROKEN@mx.google.com>
  0 siblings, 2 replies; 15+ messages in thread
From: Robert Pluim @ 2025-02-04 12:08 UTC (permalink / raw)
  To: Björn Bidar; +Cc: Eric Abrahamsen, 22414, Eli Zaretskii, nyc4bos, larsi

>>>>> On Tue, 04 Feb 2025 13:43:13 +0200, Björn Bidar <bjorn.bidar@thaodan.de> said:

    Björn> Robert Pluim <rpluim@gmail.com> writes:
    >>>>>>> On Mon, 03 Feb 2025 13:57:20 +0200, Björn Bidar <bjorn.bidar@thaodan.de> said:
    >> 
    Björn> Robert Pluim <rpluim@gmail.com> writes:
    >> >>>>>>> On Sat, 01 Feb 2025 13:39:50 +0200, Eli Zaretskii <eliz@gnu.org> said:
    >> >> 
    >> >> >> Cc: 22414@debbugs.gnu.org, Live System User <nyc4bos@aol.com>
    >> >> >> Date: Wed, 22 Jan 2025 01:43:57 +0200
    >> >> >> From:  Björn Bidar via "Bug reports for GNU Emacs,
    >> >> >> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
    >> >> >> 
    >> >> >> This patch should fix the issue I think. Please review.
    >> >> 
    Eli> Thanks.  Could people who use Gnus please take a look and comment?
    >> >> 
    >> >> Looks ok to me, although I donʼt use the Gnus registry. The commit
    >> >> message could be clearer, though.
    >> 
    Björn> How exactly?
    >> 
    >> I guess you understand this sentence, but I donʼt:
    >> 
    >> nnregistry doesn't handle
    >> any servers or groups define the dummy function so Gnus-registry
    >> works as refer article method
    >> 

    Björn> What do you not understand about it? nnregistry doesn't handle servers
    Björn> or groups so it needs the dummy function to  pass through the
    Björn> gnus-check-group-server function. If there's context missing check the
    Björn> other functions in nnregistry.el.

So what I hope you mean is:

    nnregistry doesnʼt actually handle servers or groups, however we need
    to define a dummy function for it in order to satisfy the
    gnus-check-group-server function.

Robert
-- 





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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
  2025-02-04 12:08               ` Robert Pluim
@ 2025-02-04 13:11                 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found]                 ` <67a211ec.170a0220.325788.ea23SMTPIN_ADDED_BROKEN@mx.google.com>
  1 sibling, 0 replies; 15+ messages in thread
From: Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2025-02-04 13:11 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Eric Abrahamsen, 22414, Eli Zaretskii, nyc4bos, larsi

Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Tue, 04 Feb 2025 13:43:13 +0200, Björn Bidar <bjorn.bidar@thaodan.de> said:
>
>     Björn> Robert Pluim <rpluim@gmail.com> writes:
>     >>>>>>> On Mon, 03 Feb 2025 13:57:20 +0200, Björn Bidar <bjorn.bidar@thaodan.de> said:
>     >> 
>     Björn> Robert Pluim <rpluim@gmail.com> writes:
>     >> >>>>>>> On Sat, 01 Feb 2025 13:39:50 +0200, Eli Zaretskii <eliz@gnu.org> said:
>     >> >> 
>     >> >> >> Cc: 22414@debbugs.gnu.org, Live System User <nyc4bos@aol.com>
>     >> >> >> Date: Wed, 22 Jan 2025 01:43:57 +0200
>     >> >> >> From:  Björn Bidar via "Bug reports for GNU Emacs,
>     >> >> >> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>     >> >> >> 
>     >> >> >> This patch should fix the issue I think. Please review.
>     >> >> 
>     Eli> Thanks.  Could people who use Gnus please take a look and comment?
>     >> >> 
>     >> >> Looks ok to me, although I donʼt use the Gnus registry. The commit
>     >> >> message could be clearer, though.
>     >> 
>     Björn> How exactly?
>     >> 
>     >> I guess you understand this sentence, but I donʼt:
>     >> 
>     >> nnregistry doesn't handle
>     >> any servers or groups define the dummy function so Gnus-registry
>     >> works as refer article method
>     >> 
>
>     Björn> What do you not understand about it? nnregistry doesn't handle servers
>     Björn> or groups so it needs the dummy function to  pass through the
>     Björn> gnus-check-group-server function. If there's context missing check the
>     Björn> other functions in nnregistry.el.
>
> So what I hope you mean is:
>
>     nnregistry doesnʼt actually handle servers or groups, however we need
>     to define a dummy function for it in order to satisfy the
>     gnus-check-group-server function.
>
> Robert

That does sound a little condescending to say you hope what I am saying.
I'm not a native speaker but I think I can speak well enough to be
understandable. 
Yes that is essentially what I'm trying to say but I want to highlight
that you take the sentence out of context. The full message was:

     Add function for gnus-check-group-server.  nnregistry doesn't handle
     any servers or groups define the dummy function so Gnus-registry
     works as refer article method.

Did you read the first sentence? Maybe it should have been:

     Add function for gnus-check-group-server function.  nnregistry doesn't handle
     any servers or groups define the dummy function so Gnus-registry
     works as refer article method.






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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
       [not found]                 ` <67a211ec.170a0220.325788.ea23SMTPIN_ADDED_BROKEN@mx.google.com>
@ 2025-02-04 14:27                   ` Robert Pluim
  2025-02-04 16:09                     ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found]                     ` <67a23bc1.a70a0220.e5da1.730bSMTPIN_ADDED_BROKEN@mx.google.com>
  0 siblings, 2 replies; 15+ messages in thread
From: Robert Pluim @ 2025-02-04 14:27 UTC (permalink / raw)
  To: Björn Bidar; +Cc: Eric Abrahamsen, 22414, Eli Zaretskii, nyc4bos, larsi

>>>>> On Tue, 04 Feb 2025 15:11:05 +0200, Björn Bidar <bjorn.bidar@thaodan.de> said:
    >> 
    >> So what I hope you mean is:
    >> 
    >> nnregistry doesnʼt actually handle servers or groups, however we need
    >> to define a dummy function for it in order to satisfy the
    >> gnus-check-group-server function.
    >> 
    >> Robert

    Björn> That does sound a little condescending to say you hope what
    Björn> I am saying.

It was not intended that way, I was trying to express what I
understood.

    Björn> I'm not a native speaker but I think I can speak well enough to be
    Björn> understandable. 
    Björn> Yes that is essentially what I'm trying to say but I want to highlight
    Björn> that you take the sentence out of context. The full message was:

    Björn>      Add function for gnus-check-group-server.  nnregistry doesn't handle
    Björn>      any servers or groups define the dummy function so Gnus-registry
    Björn>      works as refer article method.

    Björn> Did you read the first sentence? Maybe it should have been:

    Björn>      Add function for gnus-check-group-server function.  nnregistry doesn't handle
    Björn>      any servers or groups define the dummy function so Gnus-registry
    Björn>      works as refer article method.

My difficulty is because this bit: "nnregistry doesn't handle any
servers or groups" runs into this bit: "define the dummy function so
Gnus-registry works as refer article method" without any intervening
junction phrase like "so we must" or similar.

Robert
-- 





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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
  2025-02-04 14:27                   ` Robert Pluim
@ 2025-02-04 16:09                     ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
       [not found]                     ` <67a23bc1.a70a0220.e5da1.730bSMTPIN_ADDED_BROKEN@mx.google.com>
  1 sibling, 0 replies; 15+ messages in thread
From: Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2025-02-04 16:09 UTC (permalink / raw)
  To: Robert Pluim; +Cc: Eric Abrahamsen, 22414, Eli Zaretskii, nyc4bos, larsi

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

Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Tue, 04 Feb 2025 15:11:05 +0200, Björn Bidar <bjorn.bidar@thaodan.de> said:
>     >> 
>     >> So what I hope you mean is:
>     >> 
>     >> nnregistry doesnʼt actually handle servers or groups, however we need
>     >> to define a dummy function for it in order to satisfy the
>     >> gnus-check-group-server function.
>     >> 
>     >> Robert
>
>     Björn> That does sound a little condescending to say you hope what
>     Björn> I am saying.
>
> It was not intended that way, I was trying to express what I
> understood.

OK np.

>
>     Björn> I'm not a native speaker but I think I can speak well enough to be
>     Björn> understandable. 
>     Björn> Yes that is essentially what I'm trying to say but I want to highlight
>     Björn> that you take the sentence out of context. The full message was:
>
>     Björn>      Add function for gnus-check-group-server.  nnregistry doesn't handle
>     Björn>      any servers or groups define the dummy function so Gnus-registry
>     Björn>      works as refer article method.
>
>     Björn> Did you read the first sentence? Maybe it should have been:
>
>     Björn>      Add function for gnus-check-group-server function.  nnregistry doesn't handle
>     Björn>      any servers or groups define the dummy function so Gnus-registry
>     Björn>      works as refer article method.
>
> My difficulty is because this bit: "nnregistry doesn't handle any
> servers or groups" runs into this bit: "define the dummy function so
> Gnus-registry works as refer article method" without any intervening
> junction phrase like "so we must" or similar.

Ah! Ok that makes your point much easier to get. That a connecting
phrase or word was needed was not obvious to me.

Please check the patch below:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-nnregistry-request-group-function-for-gnus-refer.patch --]
[-- Type: text/x-patch, Size: 1205 bytes --]

From 05648f89680f7beb1ee7e9d72553878d268dcc28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= <bjorn.bidar@thaodan.de>
Date: Wed, 22 Jan 2025 01:28:22 +0200
Subject: [PATCH] Add nnregistry-request-group function for gnus-refer-article

* lisp/gnus/nnregistry.el (nnregistry-request-group):
nnregistry doesn't handle any servers or groups; however we have to
define the dummy function so Gnus-registry works as refer article
method, as the `gnus-check-group-server' function requires it.
The latter function is called when referring to articles to check the
source group first before actually requesting any articles.
---
 lisp/gnus/nnregistry.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/gnus/nnregistry.el b/lisp/gnus/nnregistry.el
index edf773209d6..10363560ba6 100644
--- a/lisp/gnus/nnregistry.el
+++ b/lisp/gnus/nnregistry.el
@@ -47,6 +47,9 @@ nnregistry-status-message
 (deffoo nnregistry-open-server (_server &optional _defs)
   gnus-registry-db)
 
+(deffoo nnregistry-request-group (_group &optional _server _dont-check _info)
+  t)
+
 (defvar nnregistry-within-nnregistry nil)
 
 (deffoo nnregistry-request-article (id &optional _group _server buffer)
-- 
2.45.2


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

* bug#22414: 24.5; GNUS - No such function: nnregistry-request-group
       [not found]                     ` <67a23bc1.a70a0220.e5da1.730bSMTPIN_ADDED_BROKEN@mx.google.com>
@ 2025-02-04 16:30                       ` Robert Pluim
  0 siblings, 0 replies; 15+ messages in thread
From: Robert Pluim @ 2025-02-04 16:30 UTC (permalink / raw)
  To: Björn Bidar; +Cc: Eric Abrahamsen, 22414, Eli Zaretskii, nyc4bos, larsi

>>>>> On Tue, 04 Feb 2025 18:09:36 +0200, Björn Bidar <bjorn.bidar@thaodan.de> said:

    Björn> * lisp/gnus/nnregistry.el (nnregistry-request-group):
    Björn> nnregistry doesn't handle any servers or groups; however we have to
    Björn> define the dummy function so Gnus-registry works as refer article
    Björn> method, as the `gnus-check-group-server' function requires it.
    Björn> The latter function is called when referring to articles to check the
    Björn> source group first before actually requesting any articles.
    Björn> ---
    Björn>  lisp/gnus/nnregistry.el | 3 +++
    Björn>  1 file changed, 3 insertions(+)

Thatʼs much better, thanks

Robert
-- 





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

end of thread, other threads:[~2025-02-04 16:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-20 16:41 bug#22414: 24.5; GNUS - No such function: nnregistry-request-group Live System User
2016-01-20 19:31 ` Glenn Morris
2016-02-07  5:43 ` Lars Ingebrigtsen
2016-12-07 19:37   ` Glenn Morris
     [not found]   ` <878qr5xzgt.fsf@>
2025-01-21 23:43     ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]   ` <871pwvu402.fsf@>
2025-02-01 11:39     ` Eli Zaretskii
2025-02-03 11:16       ` Robert Pluim
2025-02-03 11:57         ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]         ` <67a0af21.170a0220.2a65b5.c97aSMTPIN_ADDED_BROKEN@mx.google.com>
2025-02-03 12:19           ` Robert Pluim
2025-02-04 11:43             ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]             ` <67a1fd54.170a0220.154d18.03e0SMTPIN_ADDED_BROKEN@mx.google.com>
2025-02-04 12:08               ` Robert Pluim
2025-02-04 13:11                 ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]                 ` <67a211ec.170a0220.325788.ea23SMTPIN_ADDED_BROKEN@mx.google.com>
2025-02-04 14:27                   ` Robert Pluim
2025-02-04 16:09                     ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]                     ` <67a23bc1.a70a0220.e5da1.730bSMTPIN_ADDED_BROKEN@mx.google.com>
2025-02-04 16:30                       ` Robert Pluim

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