unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Gnus IMAP searching not working.
@ 2011-10-31 16:55 Ashish SHUKLA
  2011-10-31 17:17 ` Jambunathan K
  0 siblings, 1 reply; 10+ messages in thread
From: Ashish SHUKLA @ 2011-10-31 16:55 UTC (permalink / raw)
  To: emacs-devel

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

Hi,

I'm running Emacs bzr revision 106240 on FreeBSD, and I'm having problem
searching my IMAP mailbox using Gnus (i.e. keybinding G G), after prompting
for "Query", I get following error:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-variable gnus-registry-enabled)
  nnir-mode()
  run-hooks(change-major-mode-after-body-hook gnus-summary-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook gnus-summary-mode-hook))
  run-mode-hooks(gnus-summary-mode-hook)
  apply(run-mode-hooks gnus-summary-mode-hook)
  gnus-run-mode-hooks(gnus-summary-mode-hook)
  gnus-summary-mode("nnir:((query . \"119187\") (unique-id . \"864nypt8c2.fsf\"))")
  gnus-summary-setup-buffer("nnir:((query . \"119187\") (unique-id . \"864nypt8c2.fsf\"))")
  gnus-summary-read-group-1("nnir:((query . \"119187\") (unique-id . \"864nypt8c2.fsf\"))" t t nil nil nil)
  gnus-summary-read-group("nnir:((query . \"119187\") (unique-id . \"864nypt8c2.fsf\"))" t t nil nil nil nil)
  gnus-group-read-group(t t "nnir:((query . \"119187\") (unique-id . \"864nypt8c2.fsf\"))" nil)
  byte-code("^H	^Z^[\306\f\206\n^@\307\307^M^N^H$*\205^T^@^M\207" [gnus-large-ephemeral-newsgroup gnus-fetch-old-ephemeral-headers gnus-fetch-old-headers gnus-large-newsgroup number group gnus-group-read-group t select-articles] 5)
  gnus-group-read-ephemeral-group("nnir:((query . \"119187\") (unique-id . \"864nypt8c2.fsf\"))" (nnir "nnir") t (#<buffer *Group*> . group) nil)
  gnus-group-make-nnir-group(nil)
  call-interactively(gnus-group-make-nnir-group nil nil)
--8<---------------cut here---------------end--------------->8---

If you need any more information, please let me know.

Thanks
-- 
Ashish SHUKLA

“Maxwell's equations have had a greater impact on human history than
any ten presidents.” ("Carl Sagan")

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: Gnus IMAP searching not working.
  2011-10-31 16:55 Gnus IMAP searching not working Ashish SHUKLA
@ 2011-10-31 17:17 ` Jambunathan K
  2011-10-31 17:27   ` Ashish SHUKLA
  0 siblings, 1 reply; 10+ messages in thread
From: Jambunathan K @ 2011-10-31 17:17 UTC (permalink / raw)
  To: Ashish SHUKLA; +Cc: emacs-devel


wahjava.ml@gmail.com (Ashish SHUKLA) writes:

> Hi,
>
> I'm running Emacs bzr revision 106240 on FreeBSD, and I'm having problem
> searching my IMAP mailbox using Gnus (i.e. keybinding G G), after prompting
> for "Query", I get following error:
>
> Debugger entered--Lisp error: (void-variable gnus-registry-enabled)

Looks like M-x gnus-registry-initialize has not been called.

Commentary section in 

M-: (find-file (locate-library "gnus-registry.el"))

advises use of above initialize function in the init file.
-- 



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

* Re: Gnus IMAP searching not working.
  2011-10-31 17:17 ` Jambunathan K
@ 2011-10-31 17:27   ` Ashish SHUKLA
  2011-10-31 19:59     ` Dave Abrahams
  2011-10-31 22:36     ` Ted Zlatanov
  0 siblings, 2 replies; 10+ messages in thread
From: Ashish SHUKLA @ 2011-10-31 17:27 UTC (permalink / raw)
  To: emacs-devel

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

Jambunathan K writes:

> wahjava.ml@gmail.com (Ashish SHUKLA) writes:

>> Hi,
>> 
>> I'm running Emacs bzr revision 106240 on FreeBSD, and I'm having problem
>> searching my IMAP mailbox using Gnus (i.e. keybinding G G), after prompting
>> for "Query", I get following error:
>> 
>> Debugger entered--Lisp error: (void-variable gnus-registry-enabled)

> Looks like M-x gnus-registry-initialize has not been called.

> Commentary section in 

> M-: (find-file (locate-library "gnus-registry.el"))


Yes, looks like that.

--8<---------------cut here---------------start------------->8---
(defvar gnus-registry-enabled)

(defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning.
--8<---------------cut here---------------end--------------->8---

It seems to be introduced in r106109[1].

References:
[1]  http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/106109

-- 
Ashish SHUKLA

“Who controls the past controls the future: who controls the present
controls the past.” (George Orwell, "Nineteen Eighty-Four", 1949)

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: Gnus IMAP searching not working.
  2011-10-31 17:27   ` Ashish SHUKLA
@ 2011-10-31 19:59     ` Dave Abrahams
  2011-11-01 10:29       ` Ted Zlatanov
  2011-10-31 22:36     ` Ted Zlatanov
  1 sibling, 1 reply; 10+ messages in thread
From: Dave Abrahams @ 2011-10-31 19:59 UTC (permalink / raw)
  To: emacs-devel; +Cc: Ted Zlatanov

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


on Mon Oct 31 2011, wahjava.ml-AT-gmail.com (Ashish SHUKLA) wrote:

> Jambunathan K writes:
>
>> wahjava.ml@gmail.com (Ashish SHUKLA) writes:
>
>>> Hi,
>>> 
>>> I'm running Emacs bzr revision 106240 on FreeBSD, and I'm having problem
>>> searching my IMAP mailbox using Gnus (i.e. keybinding G G), after prompting
>>> for "Query", I get following error:
>>> 
>>> Debugger entered--Lisp error: (void-variable gnus-registry-enabled)
>
>> Looks like M-x gnus-registry-initialize has not been called.
>
>> Commentary section in 
>
>> M-: (find-file (locate-library "gnus-registry.el"))
>
> Yes, looks like that.
> (defvar gnus-registry-enabled)
>
> (defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning.
> It seems to be introduced in r106109[1].
>
> References:
> [1]  http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/106109

I am responsible for this changeset, and I apologize for the problem.
Please apply the following patch.  Ted, could you upstream this, please?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-registry.diff --]
[-- Type: text/x-patch, Size: 471 bytes --]

diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el
index 652e816..d25b8b1 100644
--- a/lisp/gnus-registry.el
+++ b/lisp/gnus-registry.el
@@ -164,7 +164,7 @@ nnmairix groups are specifically excluded because they are ephemeral."
                  (const :tag "Always Install" t)
                  (const :tag "Ask Me" ask)))
 
-(defvar gnus-registry-enabled)
+(defvar gnus-registry-enabled nil)
 
 (defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning.
 

[-- Attachment #3: Type: text/plain, Size: 62 bytes --]


-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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

* Re: Gnus IMAP searching not working.
  2011-10-31 17:27   ` Ashish SHUKLA
  2011-10-31 19:59     ` Dave Abrahams
@ 2011-10-31 22:36     ` Ted Zlatanov
  1 sibling, 0 replies; 10+ messages in thread
From: Ted Zlatanov @ 2011-10-31 22:36 UTC (permalink / raw)
  To: emacs-devel

On Mon, 31 Oct 2011 22:57:09 +0530 wahjava.ml@gmail.com (Ashish SHUKLA) wrote: 

आशीष> Yes, looks like that.
आशीष> (defvar gnus-registry-enabled)

आशीष> (defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning.

आशीष> It seems to be introduced in r106109[1].

आशीष> References:
आशीष> [1]  http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/106109

I just committed some fixes to the Gnus trunk which should propagate to
Emacs when Katsumi Yamaoka does the sync.  Please use bug reports to
report issues like this.

Thanks
Ted




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

* Re: Gnus IMAP searching not working.
  2011-10-31 19:59     ` Dave Abrahams
@ 2011-11-01 10:29       ` Ted Zlatanov
  2011-11-01 14:52         ` Richard Riley
  2011-11-02 23:21         ` Dave Abrahams
  0 siblings, 2 replies; 10+ messages in thread
From: Ted Zlatanov @ 2011-11-01 10:29 UTC (permalink / raw)
  To: emacs-devel

On Mon, 31 Oct 2011 11:59:01 -0800 Dave Abrahams <dave@boostpro.com> wrote: 

DA> I am responsible for this changeset, and I apologize for the problem.
DA> Please apply the following patch.  Ted, could you upstream this, please?
DA> diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el
DA> index 652e816..d25b8b1 100644
DA> --- a/lisp/gnus-registry.el
DA> +++ b/lisp/gnus-registry.el
DA> @@ -164,7 +164,7 @@ nnmairix groups are specifically excluded because they are ephemeral."
DA>                   (const :tag "Always Install" t)
DA>                   (const :tag "Ask Me" ask)))
 
DA> -(defvar gnus-registry-enabled)
DA> +(defvar gnus-registry-enabled nil)
 
DA>  (defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning.

I've already fixed it with a different approach, thanks.

Ted




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

* Re: Gnus IMAP searching not working.
  2011-11-01 10:29       ` Ted Zlatanov
@ 2011-11-01 14:52         ` Richard Riley
  2011-11-02 23:21         ` Dave Abrahams
  1 sibling, 0 replies; 10+ messages in thread
From: Richard Riley @ 2011-11-01 14:52 UTC (permalink / raw)
  To: emacs-devel

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Mon, 31 Oct 2011 11:59:01 -0800 Dave Abrahams <dave@boostpro.com> wrote: 
>
> DA> I am responsible for this changeset, and I apologize for the problem.
> DA> Please apply the following patch.  Ted, could you upstream this, please?
> DA> diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el
> DA> index 652e816..d25b8b1 100644
> DA> --- a/lisp/gnus-registry.el
> DA> +++ b/lisp/gnus-registry.el
> DA> @@ -164,7 +164,7 @@ nnmairix groups are specifically excluded because they are ephemeral."
> DA>                   (const :tag "Always Install" t)
> DA>                   (const :tag "Ask Me" ask)))
>
> DA> -(defvar gnus-registry-enabled)
> DA> +(defvar gnus-registry-enabled nil)
>
> DA>  (defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning.
>
> I've already fixed it with a different approach, thanks.
>
> Ted

just and FYI, very timely and synced - unless the git repo is old enough
not have the original error ;) Wasnt working for me earlier, did a git
pull and remade emacs 24 and it works fine now. Great job and thanks.




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

* Re: Gnus IMAP searching not working.
  2011-11-01 10:29       ` Ted Zlatanov
  2011-11-01 14:52         ` Richard Riley
@ 2011-11-02 23:21         ` Dave Abrahams
  2011-11-03 13:15           ` Ted Zlatanov
  1 sibling, 1 reply; 10+ messages in thread
From: Dave Abrahams @ 2011-11-02 23:21 UTC (permalink / raw)
  To: emacs-devel


on Tue Nov 01 2011, Ted Zlatanov <tzz-AT-lifelogs.com> wrote:

> On Mon, 31 Oct 2011 11:59:01 -0800 Dave Abrahams <dave@boostpro.com> wrote: 
>
> DA> I am responsible for this changeset, and I apologize for the problem.
> DA> Please apply the following patch.  Ted, could you upstream this, please?
> DA> diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el
> DA> index 652e816..d25b8b1 100644
> DA> --- a/lisp/gnus-registry.el
> DA> +++ b/lisp/gnus-registry.el
> DA> @@ -164,7 +164,7 @@ nnmairix groups are specifically excluded because they are ephemeral."
> DA>                   (const :tag "Always Install" t)
> DA>                   (const :tag "Ask Me" ask)))
>
> DA> -(defvar gnus-registry-enabled)
> DA> +(defvar gnus-registry-enabled nil)
>
> DA>  (defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning.
>
> I've already fixed it with a different approach, thanks.

Whatever else you've done, this change should be made anyway.  I wrote
the line in question and I always intended it to have the semantics of
the changed line.  I wouldn't expect the rest of my changes to work
correctly without it.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




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

* Re: Gnus IMAP searching not working.
  2011-11-02 23:21         ` Dave Abrahams
@ 2011-11-03 13:15           ` Ted Zlatanov
  2011-11-05  5:02             ` Dave Abrahams
  0 siblings, 1 reply; 10+ messages in thread
From: Ted Zlatanov @ 2011-11-03 13:15 UTC (permalink / raw)
  To: emacs-devel

On Wed, 02 Nov 2011 15:21:32 -0800 Dave Abrahams <dave@boostpro.com> wrote: 

DA> on Tue Nov 01 2011, Ted Zlatanov <tzz-AT-lifelogs.com> wrote:

>> On Mon, 31 Oct 2011 11:59:01 -0800 Dave Abrahams <dave@boostpro.com> wrote: 
>> 
DA> I am responsible for this changeset, and I apologize for the problem.
DA> Please apply the following patch.  Ted, could you upstream this, please?
DA> diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el
DA> index 652e816..d25b8b1 100644
DA> --- a/lisp/gnus-registry.el
DA> +++ b/lisp/gnus-registry.el
DA> @@ -164,7 +164,7 @@ nnmairix groups are specifically excluded because they are ephemeral."
DA> (const :tag "Always Install" t)
DA> (const :tag "Ask Me" ask)))
>> 
DA> -(defvar gnus-registry-enabled)
DA> +(defvar gnus-registry-enabled nil)
>> 
DA> (defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning.
>> 
>> I've already fixed it with a different approach, thanks.

DA> Whatever else you've done, this change should be made anyway.  I wrote
DA> the line in question and I always intended it to have the semantics of
DA> the changed line.  I wouldn't expect the rest of my changes to work
DA> correctly without it.

It's done the way you suggested.  I mean that I didn't just do that, but
also removed

(defvar gnus-registry-enabled)

in all the files that include gnus-registry.el, which your original
patch included.  Please look at the Gnus Git repo to catch up with the
changes I've made; the Emacs trunk is always a little behind because
it's manually synchronized.  We're OK now, though, honestly :)

Thanks
Ted




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

* Re: Gnus IMAP searching not working.
  2011-11-03 13:15           ` Ted Zlatanov
@ 2011-11-05  5:02             ` Dave Abrahams
  0 siblings, 0 replies; 10+ messages in thread
From: Dave Abrahams @ 2011-11-05  5:02 UTC (permalink / raw)
  To: emacs-devel


on Thu Nov 03 2011, Ted Zlatanov <tzz-AT-lifelogs.com> wrote:

> It's done the way you suggested.  I mean that I didn't just do that, but
> also removed
>
> (defvar gnus-registry-enabled)
>
> in all the files that include gnus-registry.el, which your original
> patch included.  Please look at the Gnus Git repo to catch up with the
> changes I've made; the Emacs trunk is always a little behind because
> it's manually synchronized.  We're OK now, though, honestly :)

Thanks; I'm following Gnus' trunk, not Emacs', FWIW.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




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

end of thread, other threads:[~2011-11-05  5:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-31 16:55 Gnus IMAP searching not working Ashish SHUKLA
2011-10-31 17:17 ` Jambunathan K
2011-10-31 17:27   ` Ashish SHUKLA
2011-10-31 19:59     ` Dave Abrahams
2011-11-01 10:29       ` Ted Zlatanov
2011-11-01 14:52         ` Richard Riley
2011-11-02 23:21         ` Dave Abrahams
2011-11-03 13:15           ` Ted Zlatanov
2011-11-05  5:02             ` Dave Abrahams
2011-10-31 22:36     ` Ted Zlatanov

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