Discussion:
registry marks?
Peter Davis
2015-07-08 17:54:34 UTC
Permalink
I'm running gnus 5.13 and, while the gnus menu offers an option for
adding registry marks to a message, the variable gnus-registry-marks is
undefined, and none of my attempts to mark a message work.

Is there something I have to configure to enable this feature?

I'm assuming once I've marked messages, I can somehow retrieve them by
mark, or list all the messages marked Important or whatever, right? I'm
using nnimap.

Thanks,
-pd
Eric Abrahamsen
2015-07-09 01:11:44 UTC
Permalink
Post by Peter Davis
I'm running gnus 5.13 and, while the gnus menu offers an option for
adding registry marks to a message, the variable gnus-registry-marks is
undefined, and none of my attempts to mark a message work.
Is there something I have to configure to enable this feature?
I'm assuming once I've marked messages, I can somehow retrieve them by
mark, or list all the messages marked Important or whatever, right? I'm
using nnimap.
Have you required the gnus-registry library, and put
(gnus-registry-initialize) in your init files? I can't think of any
other way that `gnus-registry-marks' would be undefined...

Eric
Peter Davis
2015-07-10 12:15:26 UTC
Permalink
Post by Eric Abrahamsen
Post by Peter Davis
I'm running gnus 5.13 and, while the gnus menu offers an option for
adding registry marks to a message, the variable gnus-registry-marks is
undefined, and none of my attempts to mark a message work.
Is there something I have to configure to enable this feature?
I'm assuming once I've marked messages, I can somehow retrieve them by
mark, or list all the messages marked Important or whatever, right? I'm
using nnimap.
Have you required the gnus-registry library, and put
(gnus-registry-initialize) in your init files? I can't think of any
other way that `gnus-registry-marks' would be undefined...
Ok, that definitely helps. Now I can see the values for
gnus-registry-marks, but when I try to add one, e.g., via `M M i', I get:

Removing mark nil with message ID <***@ericabrahamsen.net>, resulting in nil

Thanks,
-pd
Peter Davis
2015-07-10 12:43:12 UTC
Permalink
Post by Peter Davis
Post by Eric Abrahamsen
Post by Peter Davis
I'm running gnus 5.13 and, while the gnus menu offers an option for
adding registry marks to a message, the variable gnus-registry-marks is
undefined, and none of my attempts to mark a message work.
Is there something I have to configure to enable this feature?
I'm assuming once I've marked messages, I can somehow retrieve them by
mark, or list all the messages marked Important or whatever, right? I'm
using nnimap.
Have you required the gnus-registry library, and put
(gnus-registry-initialize) in your init files? I can't think of any
other way that `gnus-registry-marks' would be undefined...
Ok, that definitely helps. Now I can see the values for
Also, for some reason, adding these two lines:

(require 'gnus-registry)
(gnus-registry-initialize)

to my .gnus.el file has broken some of my keyboard definitions. For
example, 'd', which I had defined to mark a message as expirable and
move to the next one:

... (local-set-key "d" [?M ?M ?e ?e down ?g])

now gives me the error:

After 0 kbd macro iterations: undefined: Keyboard macro terminated by a command ringing the bell

Thanks,
-pd
Eric Abrahamsen
2015-07-11 07:21:52 UTC
Permalink
Post by Peter Davis
Post by Eric Abrahamsen
Post by Peter Davis
I'm running gnus 5.13 and, while the gnus menu offers an option for
adding registry marks to a message, the variable gnus-registry-marks is
undefined, and none of my attempts to mark a message work.
Is there something I have to configure to enable this feature?
I'm assuming once I've marked messages, I can somehow retrieve them by
mark, or list all the messages marked Important or whatever, right? I'm
using nnimap.
Have you required the gnus-registry library, and put
(gnus-registry-initialize) in your init files? I can't think of any
other way that `gnus-registry-marks' would be undefined...
Ok, that definitely helps. Now I can see the values for
Thanks,
-pd
Yup, looks like the commands were being given to the function backwards.
I've pushed a patch for this, would you try it out?

Eric
Peter Davis
2015-07-11 11:55:32 UTC
Permalink
Post by Eric Abrahamsen
Post by Peter Davis
Post by Eric Abrahamsen
Post by Peter Davis
I'm running gnus 5.13 and, while the gnus menu offers an option for
adding registry marks to a message, the variable gnus-registry-marks is
undefined, and none of my attempts to mark a message work.
Is there something I have to configure to enable this feature?
I'm assuming once I've marked messages, I can somehow retrieve them by
mark, or list all the messages marked Important or whatever, right? I'm
using nnimap.
Have you required the gnus-registry library, and put
(gnus-registry-initialize) in your init files? I can't think of any
other way that `gnus-registry-marks' would be undefined...
Ok, that definitely helps. Now I can see the values for
Thanks,
-pd
Yup, looks like the commands were being given to the function backwards.
I've pushed a patch for this, would you try it out?
I'd be happy to, Eric, but I confess that I don't know how to do that. I'm running Gnus on Aquamacs 3.2 GNU Emacs 24.4.51.2. Can I
just pull a .el file from somewhere, substitute it for an existing file, and then restart emacs? Or do I have to rebuild a binary?

(If I find out how to do this, maybe I can also try out some of the very tempting IMAP improvements people have been talking about.)

Thanks,
-pd
Eric Abrahamsen
2015-07-11 15:44:56 UTC
Permalink
Post by Peter Davis
Post by Eric Abrahamsen
Post by Peter Davis
Post by Eric Abrahamsen
Post by Peter Davis
I'm running gnus 5.13 and, while the gnus menu offers an option for
adding registry marks to a message, the variable gnus-registry-marks is
undefined, and none of my attempts to mark a message work.
Is there something I have to configure to enable this feature?
I'm assuming once I've marked messages, I can somehow retrieve them by
mark, or list all the messages marked Important or whatever, right? I'm
using nnimap.
Have you required the gnus-registry library, and put
(gnus-registry-initialize) in your init files? I can't think of any
other way that `gnus-registry-marks' would be undefined...
Ok, that definitely helps. Now I can see the values for
Thanks,
-pd
Yup, looks like the commands were being given to the function backwards.
I've pushed a patch for this, would you try it out?
I'd be happy to, Eric, but I confess that I don't know how to do that. I'm running Gnus on Aquamacs 3.2 GNU Emacs 24.4.51.2. Can I
just pull a .el file from somewhere, substitute it for an existing file, and then restart emacs? Or do I have to rebuild a binary?
(If I find out how to do this, maybe I can also try out some of the very tempting IMAP improvements people have been talking about.)
In that case it's a little fiddly -- if you want to run the latest Gnus
codebase, your only realistic option is to clone the Gnus git repo, and
then add that to your load path. So this:

git clone http://git.gnus.org/gnus.git

And then:

(add-to-list 'load-path "~/wherever/you/put/gnus/lisp")

That should get you running the newest code.

Yours,
Eric

Loading...