Gnus development mailing list
 help / color / mirror / Atom feed
From: Bastien <bzg@altern.org>
To: ding@gnus.org
Subject: Re: released mairix backend nnmairix.el
Date: Fri, 05 Oct 2007 13:00:56 +0100	[thread overview]
Message-ID: <871wc9zs7b.fsf@bzg.ath.cx> (raw)
In-Reply-To: <kzwsu1x5b0.fsf@musil.physik3.gwdg.de> (David's message of "Fri, 05 Oct 2007 11:46:11 +0200")

David <de_bb@arcor.de> writes:

> (setq gnus-auto-subscribed-groups
>   "^\\(nnml\\|nnfolder\\|nnmbox\\|nnmh\\|nnbabyl\\|nnmaildir\\).*\
> :\\([^z]\\|z$\\|\\z[^z]\\|zz$\\|zz[^_]\\|zz_$\\).*")

Done that, works smoothly, thanks.

> Just set your nnmairix groups to a lower group level (using 'S l' in
> the group buffer), so that it isn't updated when you hit 'g'. A level
> of '4' or '5' should do the trick (it depends on your value of
> gnus-activate-level).

Okay, will do that as well.

>>What do you think?
>
> Well, you can already create queries interactively based on the current
> article using "S g" in summary mode. 

Tyring to build a query on the body with S g b failed with this
backtrace (other conditions seem okay so far):

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("[^-.@& [:alnum:]]" nil)
  (while (string-match "[^-.@& [:alnum:]]" header) (setq header (replace-match "" t t header)))
  (if (> emacs-major-version 20) (while (string-match "[^-.@& [:alnum:]]" header) (setq header ...)) (while (string-match "[[]{}:<>]" header) (setq header ...)))
  (save-excursion (gnus-summary-toggle-header 1) (while (not achar) (message "Query (f=From,t=To,c=Cc,a=To or Cc,s=subject,b=body,m=Msgid): ") (setq achar ...) (when ... ...)) (set-buffer gnus-article-buffer) (setq header nil) (when (setq cq ...) (setq header ...)) (if (> emacs-major-version 20) (while ... ...) (while ... ...)) (while (string-match "[-& ]" header) (setq header ...)) (setq header (read-string ... header)) (push (concat ... ":" header) query) (setq finished (not ...) achar nil))
  (while (not finished) (save-excursion (gnus-summary-toggle-header 1) (while ... ... ... ...) (set-buffer gnus-article-buffer) (setq header nil) (when ... ...) (if ... ... ...) (while ... ...) (setq header ...) (push ... query) (setq finished ... achar nil)))
  (let ((char-header ...) (server ...) query achar header finished group threads cq) (when (or ... ...) (error "No article or summary buffer.")) (when (not server) (error "No nnmairix server found for back end %s:%s" ... ...)) (while (not finished) (save-excursion ... ... ... ... ... ... ... ... ... ...)) (setq threads (y-or-n-p "Include whole threads? ")) (setq group (read-string "Group name: ")) (set-buffer gnus-summary-buffer) (message "Creating group %s on server %s with query %s." group (gnus-method-to-server server) (mapconcat ... query " ")) (nnmairix-create-search-group server group query threads))
  nnmairix-create-search-group-from-message()
  call-interactively(nnmairix-create-search-group-from-message)

> However, that's only for creating permanent nnmairix groups but could
> be easily extended. Your suggestion would be even more flexible. I
> definitely will look into that.

Thanks very much!  I don't know if there are many people using mairix
out there but I switched from swish-e (+nnir) to this and it's really
faster.  Good to have nnmairix.el around.

-- 
Bastien



  reply	other threads:[~2007-10-05 12:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-26 13:52 Getting rid of the zombies in dynamically created groups Georg C. F. Greve
2007-09-26 18:38 ` Reiner Steib
2007-09-26 22:38   ` Georg C. F. Greve
2007-09-27  6:12     ` Reiner Steib
2007-09-27 21:35       ` Georg C. F. Greve
2007-10-04  8:04 ` released mairix backend nnmairix.el (was: Getting rid of the zombies in dynamically created groups) David
2007-10-04 16:29   ` released mairix backend nnmairix.el Reiner Steib
2007-10-05  9:15     ` David
2007-10-05 16:41       ` Reiner Steib
2007-10-06 14:24       ` Georg C. F. Greve
2007-10-06 18:59         ` Bastien
2007-10-06 21:20           ` David
2007-10-06 23:19             ` Bastien
2007-10-07 16:09               ` David
2007-10-08  9:33                 ` Bastien
2007-10-06 21:17         ` David
2007-10-06 23:17           ` Bastien
2007-10-07 11:12           ` Georg C. F. Greve
2007-10-07 15:53             ` David
2007-10-08  9:33               ` Bastien
2007-10-04 16:48   ` released mairix backend nnmairix.el (was: Getting rid of the zombies in dynamically created groups) Bastien
2007-10-04 17:18     ` released mairix backend nnmairix.el Bastien
2007-10-05  9:46       ` David
2007-10-05 12:00         ` Bastien [this message]
2007-10-04 23:54   ` Bastien

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=871wc9zs7b.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --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).