Gnus development mailing list
 help / color / mirror / Atom feed
From: Kan-Ru Chen <kanru@kanru.info>
To: ding@gnus.org
Cc: Andrew Cohen <cohen@andy.bu.edu>
Subject: nnir error on void-variable gnus-registry-install
Date: Sat, 18 Dec 2010 00:28:09 +0800	[thread overview]
Message-ID: <87zks4e546.fsf@anar.kanru.info> (raw)

Hi,

It seems the commit 43c9807f88d4fa729999e0de912b94021d0f742f broke the
nnir search functionality.

--8<---------------cut here---------------start------------->8---
diff --git a/lisp/nnir.el b/lisp/nnir.el
index 4c01b47..b649bf3 100644
--- a/lisp/nnir.el
+++ b/lisp/nnir.el
@@ -1590,7 +1590,8 @@ server is of form 'backend:name'."
   (when (eq (car (gnus-find-method-for-group gnus-newsgroup-name)) 'nnir)
     (setq gnus-summary-line-format
          (or nnir-summary-line-format gnus-summary-line-format))
-    (when (eq gnus-registry-install t)
+    (when (and (boundp 'gnus-registry-install)
+               (eq gnus-registry-install t))
       (remove-hook 'gnus-summary-article-delete-hook 'gnus-registry-action t)
       (remove-hook 'gnus-summary-article-move-hook 'gnus-registry-action t)
       (remove-hook 'gnus-summary-article-expire-hook 'gnus-registry-action t)
--8<---------------cut here---------------end--------------->8---

- Kanru



             reply	other threads:[~2010-12-17 16:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17 16:28 Kan-Ru Chen [this message]
2010-12-17 16:32 ` Andrew Cohen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zks4e546.fsf@anar.kanru.info \
    --to=kanru@kanru.info \
    --cc=cohen@andy.bu.edu \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).